mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 15:36:59 +00:00
3d:: no crash in Power
This commit is contained in:
parent
e98afaf45c
commit
ba49bb203a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user