… | |
… | |
132 | |
132 | |
133 | enemy = 0; |
133 | enemy = 0; |
134 | |
134 | |
135 | //newmap->insert (this, x, y); |
135 | //newmap->insert (this, x, y); |
136 | newmap->insert (this, x, y, 0, INS_NO_AUTO_EXIT); |
136 | newmap->insert (this, x, y, 0, INS_NO_AUTO_EXIT); |
|
|
137 | prefetch_surrounding_maps (); |
137 | |
138 | |
138 | if (map == newmap) // see if we actually arrived there - insert might trigger a teleport |
139 | if (map == newmap) // see if we actually arrived there - insert might trigger a teleport |
139 | { |
140 | { |
140 | if (contr) |
141 | if (contr) |
141 | { |
142 | { |