mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 23:30:25 +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");
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user