1
0
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:
Zeno Rogue 2018-01-31 00:16:48 +01:00
parent f6750c8dcd
commit eb5d2ab845

View File

@ -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))