From e62705787e040a83907729194181808789d42d18 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 26 Feb 2020 22:30:11 +0100 Subject: [PATCH] ungenerated land is now Isolator --- complex.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/complex.cpp b/complex.cpp index 34763ec1..60b7582b 100644 --- a/complex.cpp +++ b/complex.cpp @@ -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 ||