Less dependence on particle order for GOLD fast electricity conduction
This commit is contained in:
parent
828569415f
commit
9bc939d422
@ -76,7 +76,7 @@ int Element_GOLD::update(UPDATE_FUNC_ARGS)
|
||||
if ((!rx != !ry) && BOUNDS_CHECK) {
|
||||
r = pmap[y+ry][x+rx];
|
||||
if(!r) continue;
|
||||
if((r&0xFF)==PT_SPRK && parts[r>>8].life)
|
||||
if((r&0xFF)==PT_SPRK && parts[r>>8].life && parts[r>>8].life<4)
|
||||
{
|
||||
parts[i].life = 4;
|
||||
parts[i].type = PT_SPRK;
|
||||
|
Loading…
Reference in New Issue
Block a user