item movement animations for Orb of Space and Curse of Repulsion

This commit is contained in:
Zeno Rogue
2024-03-19 19:25:08 +01:00
parent 77a4bb4160
commit 37b498203c
3 changed files with 8 additions and 1 deletions
+6
View File
@@ -822,7 +822,13 @@ void telekinesis(cell *dest) {
}
moveItem(dest, cwt.at, true);
eItem it = cwt.at->item;
collectItem(cwt.at, cwt.at, true);
if(cwt.at->item == it)
animateMovement(match(dest, cwt.at), LAYER_BOAT);
else
animate_item_throw(dest, cwt.at, it);
useupOrb(itOrbSpace, cost.first);
if(cost.second)
markOrb(itOrbMagnetism);