1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-29 16:57:56 +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

@@ -2484,7 +2484,9 @@ EX void livecaves() {
if(hv > 0 && c->wall == waNone) {
if(c->item && c->cpdist == 1 && markOrb(itOrbWater)) {
bool saf = c->item == itOrbSafety;
eItem it = c->item;
collectItem(c, c);
if(it && !c->item) animate_item_throw(c, cwt.at, it);
if(saf) return;
}
c->wall = waSea;