1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-18 11:14:49 +00:00

fixed Curse of Repulsion to use moveItem

This commit is contained in:
Zeno Rogue 2024-02-23 00:39:48 +01:00
parent 30f6fbc16c
commit 648dd67dc7

View File

@ -39,9 +39,8 @@ EX bool doPickupItemsWithMagnetism(cell *c) {
if(!isNeighbor(c, c4) && c3->item && !c4->item && passable(c4, c3, ZERO)) {
changes.ccell(c3);
changes.ccell(c4);
c4->item = c3->item;
moveEffect(movei(c3, c4, (cw+j).spin), moDeadBird);
c3->item = itNone;
moveItem(c3, c4, false);
moveEffect(movei(c4, c4, NODIR), moDeadBird);
markOrb(itCurseRepulsion);
}
}