mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-20 00:17:39 +00:00
fixup to isElectricLand
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user