onemore fixup to ElectricLand

This commit is contained in:
Zeno Rogue
2020-03-07 04:47:10 +01:00
parent 0a1d29ad1a
commit 511a8e9157
+4 -1
View File
@@ -416,7 +416,10 @@ EX void castLightningBolt(cellwalker lig) {
if(c->wall == waGrounded) brk = true;
if(c->wall == waFan) spin = true;
if(c->wall == waMetal) c->wall = waCharged, brk = true;
if(c->wall == waSandstone) c->wall = waNone, c->item = itFulgurite, brk = true;
if(c->wall == waSandstone) {
c->wall = waNone, brk = true;
if(c->land == laStorms) c->item = itFulgurite;
}
if(c->wall == waCharged && first) {
for(int i=0; i<c->type; i++)