1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-03 00:00:41 +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();
if(items[itOrbDigging]) {
if(earthMove(mi)) {
invismove = false;
if(earthMove(mi)) markOrb(itOrbDigging);
markOrb(itOrbDigging);
}
}
movecost(cwt.at, c2, 1);