fixed the map not being generated far enough in non-std geometries after Teleport (and other orbs)

This commit is contained in:
Zeno Rogue 2018-06-28 14:14:18 +02:00
parent 92240a0eeb
commit c2d7b0c011
1 changed files with 2 additions and 5 deletions

View File

@ -536,8 +536,7 @@ void teleportTo(cell *dest) {
drainOrb(itOrbTeleport);
movecost(cwt.c, dest);
playerMoveEffects(cwt.c, dest);
for(int i=9; i>=0; i--)
setdist(dest, i, NULL);
afterplayermoved();
bfs();
}
return;
@ -552,9 +551,7 @@ void teleportTo(cell *dest) {
addMessage(XLAT("You teleport to a new location!"));
mirror::destroyAll();
for(int i=9; i>=0; i--)
setdist(cwt.c, i, NULL);
afterplayermoved();
bfs();
sword::reset();