ungenerated land is now Isolator

This commit is contained in:
Zeno Rogue 2020-02-26 22:30:11 +01:00
parent 3ee3c471ca
commit e62705787e
1 changed files with 3 additions and 0 deletions

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