Consider red rock & rubble to electrically insulate.
This commit is contained in:
parent
a40e72f1d8
commit
ee293310b6
|
@ -221,6 +221,8 @@ EX namespace elec {
|
||||||
return isElectricLand(c) ? ecConductor : ecGrounded;
|
return isElectricLand(c) ? ecConductor : ecGrounded;
|
||||||
if(c->wall == waBigTree || c->wall == waSmallTree)
|
if(c->wall == waBigTree || c->wall == waSmallTree)
|
||||||
return ecGrounded;
|
return ecGrounded;
|
||||||
|
if(among(c->wall, waRed1, waRed2, waRed3, waRubble, waDeadfloor2))
|
||||||
|
return ecIsolator;
|
||||||
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