Mark trees as grounded walls.

This commit is contained in:
Jacob Mandelson 2024-03-11 11:42:13 -07:00
parent 3bd67f466a
commit a40e72f1d8
1 changed files with 2 additions and 0 deletions

View File

@ -219,6 +219,8 @@ EX namespace elec {
c->wall == waVinePlant ||
c->wall == waMetal || isAlchAny(c))
return isElectricLand(c) ? ecConductor : ecGrounded;
if(c->wall == waBigTree || c->wall == waSmallTree)
return ecGrounded;
if(c->wall == waBarrier)
return ecIsolator;
if(c->wall == waChasm)