Remove trees and red rock from conductive walls.

This commit is contained in:
Jacob Mandelson 2024-03-11 11:28:15 -07:00
parent ddb9fbd58e
commit 3bd67f466a
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ EX namespace elec {
if(c->wall == waSea || c->wall == waGrounded) return ecGrounded;
if(c->wall == waSandstone || c->wall == waDeadTroll ||
c->wall == waDeadTroll2 ||
among(c->wall, waBigTree, waSmallTree, waExplosiveBarrel, waRed1, waRed2, waRed3) ||
c->wall == waExplosiveBarrel ||
c->wall == waVinePlant ||
c->wall == waMetal || isAlchAny(c))
return isElectricLand(c) ? ecConductor : ecGrounded;