1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-26 02:14:48 +00:00

added CAP_COMPLEX2 guards

This commit is contained in:
Zeno Rogue
2020-05-22 16:52:30 +02:00
parent 8a28d1483b
commit c39700d8de
6 changed files with 32 additions and 0 deletions

View File

@@ -566,12 +566,16 @@ EX void killMonster(cell *c, eMonster who, flagtype deathflags IS(0)) {
playSound(c, "splash" + pick12());
destroyHalfvine(c);
minerEffect(c);
#if CAP_COMPLEX2
brownian::dissolve_brownian(c, 1);
#endif
forCellEx(c1, c) if(passable(c1, c, P_MONSTER | P_MIRROR | P_CLIMBUP | P_CLIMBDOWN)) {
changes.ccell(c1);
destroyHalfvine(c1);
minerEffect(c1);
#if CAP_COMPLEX2
brownian::dissolve_brownian(c1, 1);
#endif
if(c1->monst == moSlime || c1->monst == moSlimeNextTurn)
killMonster(c1, who);
}