From 9bc939d4223ce0d7e7209f2192dbc5779d7d6217 Mon Sep 17 00:00:00 2001 From: jacksonmj Date: Sat, 27 Apr 2013 13:54:16 +0100 Subject: [PATCH] Less dependence on particle order for GOLD fast electricity conduction --- src/simulation/elements/GOLD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation/elements/GOLD.cpp b/src/simulation/elements/GOLD.cpp index 00eb7bf76..e3837d76e 100644 --- a/src/simulation/elements/GOLD.cpp +++ b/src/simulation/elements/GOLD.cpp @@ -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;