mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 15:40: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:
parent
371ecc1ce2
commit
9fc9abce98
4
orbs.cpp
4
orbs.cpp
@ -921,8 +921,10 @@ void blowoff(cell *cf, cell *ct, int direction_hint) {
|
|||||||
playSound(ct, "orb-ranged");
|
playSound(ct, "orb-ranged");
|
||||||
addMessage(XLAT("You blow %the1 away!", cf->monst));
|
addMessage(XLAT("You blow %the1 away!", cf->monst));
|
||||||
pushMonster(ct, cf, direction_hint);
|
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);
|
moveItem(cf, ct, true);
|
||||||
|
}
|
||||||
items[itOrbAir]--;
|
items[itOrbAir]--;
|
||||||
createNoise(2);
|
createNoise(2);
|
||||||
bfs();
|
bfs();
|
||||||
|
Loading…
Reference in New Issue
Block a user