mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-01 03:46:16 +00:00
ungenerated land is now Isolator
This commit is contained in:
parent
3ee3c471ca
commit
e62705787e
@ -205,6 +205,9 @@ EX namespace elec {
|
|||||||
eCharge getCharge(cell *c) {
|
eCharge getCharge(cell *c) {
|
||||||
bool ao = afterOrb && c->ligon;
|
bool ao = afterOrb && c->ligon;
|
||||||
|
|
||||||
|
/* not yet generated */
|
||||||
|
if(c->land == laNone) return ecIsolator;
|
||||||
|
|
||||||
if(c->wall == waCharged) return ecCharged;
|
if(c->wall == waCharged) return ecCharged;
|
||||||
if(c->wall == waSea || c->wall == waGrounded) return ecGrounded;
|
if(c->wall == waSea || c->wall == waGrounded) return ecGrounded;
|
||||||
if(c->wall == waSandstone || c->wall == waDeadTroll ||
|
if(c->wall == waSandstone || c->wall == waDeadTroll ||
|
||||||
|
Loading…
Reference in New Issue
Block a user