1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 03:54:47 +00:00

Orb of Earth now cancels Invisibility only if it is doing something

This commit is contained in:
Zeno Rogue 2024-05-07 21:09:14 +02:00
parent 43702b82a1
commit 7c2aca91a4

View File

@ -1291,8 +1291,10 @@ bool pcmove::perform_actual_move() {
handle_friendly_ivy(); handle_friendly_ivy();
if(items[itOrbDigging]) { if(items[itOrbDigging]) {
invismove = false; if(earthMove(mi)) {
if(earthMove(mi)) markOrb(itOrbDigging); invismove = false;
markOrb(itOrbDigging);
}
} }
movecost(cwt.at, c2, 1); movecost(cwt.at, c2, 1);