1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-10-31 19:36:16 +00:00

ungenerated land is now Isolator

This commit is contained in:
Zeno Rogue 2020-02-26 22:30:11 +01:00
parent 3ee3c471ca
commit e62705787e

View File

@ -205,6 +205,9 @@ EX namespace elec {
eCharge getCharge(cell *c) {
bool ao = afterOrb && c->ligon;
/* not yet generated */
if(c->land == laNone) return ecIsolator;
if(c->wall == waCharged) return ecCharged;
if(c->wall == waSea || c->wall == waGrounded) return ecGrounded;
if(c->wall == waSandstone || c->wall == waDeadTroll ||