mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-14 06:43:15 +00:00
fixed the map not being generated far enough in non-std geometries after Teleport (and other orbs)
This commit is contained in:
parent
92240a0eeb
commit
c2d7b0c011
7
orbs.cpp
7
orbs.cpp
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user