mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
Mark trees as grounded walls.
This commit is contained in:
parent
3bd67f466a
commit
a40e72f1d8
@ -219,6 +219,8 @@ EX namespace elec {
|
|||||||
c->wall == waVinePlant ||
|
c->wall == waVinePlant ||
|
||||||
c->wall == waMetal || isAlchAny(c))
|
c->wall == waMetal || isAlchAny(c))
|
||||||
return isElectricLand(c) ? ecConductor : ecGrounded;
|
return isElectricLand(c) ? ecConductor : ecGrounded;
|
||||||
|
if(c->wall == waBigTree || c->wall == waSmallTree)
|
||||||
|
return ecGrounded;
|
||||||
if(c->wall == waBarrier)
|
if(c->wall == waBarrier)
|
||||||
return ecIsolator;
|
return ecIsolator;
|
||||||
if(c->wall == waChasm)
|
if(c->wall == waChasm)
|
||||||
|
Loading…
Reference in New Issue
Block a user