3d:: no crash in Power

This commit is contained in:
? 2019-02-27 15:52:22 +01:00 committed by Zeno Rogue
parent e98afaf45c
commit ba49bb203a
1 changed files with 1 additions and 0 deletions

View File

@ -542,6 +542,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
cell *c2 = c->move(i);
if(!c2) continue;
cell *c3 = c2->modmove(c->c.spin(i) + 3);
if(!c3) continue;
if(c3->land != laPower && c3->land != laBarrier)
if(c2->wall != waFire && c2->wall != waGlass) {
if(isFire(c)) c->monst = moWitchWinter;