onemore fixup to ElectricLand

This commit is contained in:
Zeno Rogue 2020-02-26 01:37:55 +01:00
parent 0a1d29ad1a
commit 511a8e9157
1 changed files with 4 additions and 1 deletions

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++)