1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 07:30:26 +00:00

blowing a Tortoise+baby away now moves the baby even if there was an item on the target cell

This commit is contained in:
Zeno Rogue 2018-07-30 09:52:50 +02:00
parent 371ecc1ce2
commit 9fc9abce98

View File

@ -921,8 +921,10 @@ void blowoff(cell *cf, cell *ct, int direction_hint) {
playSound(ct, "orb-ranged");
addMessage(XLAT("You blow %the1 away!", cf->monst));
pushMonster(ct, cf, direction_hint);
if(cf->item == itBabyTortoise && !ct->item)
if(cf->item == itBabyTortoise) {
if(ct->item) ct->item = itNone;
moveItem(cf, ct, true);
}
items[itOrbAir]--;
createNoise(2);
bfs();