1
0
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:
Zeno Rogue 2020-02-26 01:37:42 +01:00
parent a1eab8d183
commit 0a1d29ad1a

View File

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