mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
fixed petrified monsters not destroying arrow traps
This commit is contained in:
parent
f6750c8dcd
commit
eb5d2ab845
1
game.cpp
1
game.cpp
@ -1418,6 +1418,7 @@ int monstersnear(cell *c, cell *nocount, eMonster who, cell *pushto, cell *comef
|
|||||||
|
|
||||||
bool petrify(cell *c, eWall walltype, eMonster m) {
|
bool petrify(cell *c, eWall walltype, eMonster m) {
|
||||||
destroyHalfvine(c);
|
destroyHalfvine(c);
|
||||||
|
destroyTrapsOn(c);
|
||||||
playSound(c, "die-troll");
|
playSound(c, "die-troll");
|
||||||
|
|
||||||
if(walltype == waIcewall && !isIcyLand(c->land))
|
if(walltype == waIcewall && !isIcyLand(c->land))
|
||||||
|
Loading…
Reference in New Issue
Block a user