mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-14 01:58:06 +00:00
fixed the bug where tides may move on orb use
This commit is contained in:
2
orbs.cpp
2
orbs.cpp
@@ -629,6 +629,7 @@ EX void teleportTo(cell *dest) {
|
||||
playerMoveEffects(movei(cwt.at, dest, TELEPORT));
|
||||
afterplayermoved();
|
||||
bfs();
|
||||
advance_tides();
|
||||
}
|
||||
return;
|
||||
}
|
||||
@@ -647,6 +648,7 @@ EX void teleportTo(cell *dest) {
|
||||
|
||||
afterplayermoved();
|
||||
bfs();
|
||||
advance_tides();
|
||||
|
||||
sword::reset();
|
||||
items[itOrbSword2] = 0;
|
||||
|
||||
Reference in New Issue
Block a user