1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 23:50:27 +00:00

changes: fixed item disappearing with Orb of Winter

This commit is contained in:
Zeno Rogue 2020-03-16 21:38:27 +01:00
parent ed015de6c9
commit abf1b81a45

View File

@ -987,6 +987,7 @@ bool pcmove::perform_actual_move() {
if(items[itOrbWinter]) if(items[itOrbWinter])
forCellEx(c3, c2) if(c3->wall == waIcewall && c3->item) { forCellEx(c3, c2) if(c3->wall == waIcewall && c3->item) {
changes.ccell(c3);
markOrb(itOrbWinter); markOrb(itOrbWinter);
if(collectItem(c3)) return true; if(collectItem(c3)) return true;
} }