mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
fixup to isElectricLand
This commit is contained in:
parent
a1eab8d183
commit
0a1d29ad1a
@ -343,7 +343,7 @@ EX void bfs() {
|
||||
}
|
||||
|
||||
if(c2->wall == waCharged) elec::havecharge = true;
|
||||
if(c2->land == laStorms) elec::haveelec = true;
|
||||
if(isElectricLand(c2)) elec::haveelec = true;
|
||||
|
||||
if(c2->land == laWhirlpool) havewhat |= HF_WHIRLPOOL;
|
||||
if(c2->land == laWhirlwind) havewhat |= HF_WHIRLWIND;
|
||||
|
Loading…
Reference in New Issue
Block a user