1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 18:27:55 +00:00

items moved by Orb of Water, Magnetism, and Winter are now animated

This commit is contained in:
Zeno Rogue
2024-03-19 19:19:23 +01:00
parent 5bdade94b6
commit 77a4bb4160
3 changed files with 12 additions and 2 deletions

View File

@@ -1311,7 +1311,11 @@ bool pcmove::perform_actual_move() {
forCellEx(c3, c2) if(c3->wall == waIcewall && c3->item) {
changes.ccell(c3);
markOrb(itOrbWinter);
if(collectItem(c3, cwt.at)) return true;
eItem it = c3->item;
if(collectItem(c3, cwt.at))
return true;
if(!c3->item)
animate_item_throw(c3, c2, it);
}
movecost(cwt.at, c2, 2);