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
1 changed files with 3 additions and 1 deletions

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();