Permalink
Browse files

Fix NTCT / PTCT / INWR triggering EMP blasts ...

  • Loading branch information...
jacob1 committed Dec 19, 2015
1 parent d92f356 commit 2725a32b8ed7965c7e9cb02c87d95518a4661af5
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/simulation/elements/SPRK.cpp
@@ -239,6 +239,7 @@ int Element_SPRK::update(UPDATE_FUNC_ARGS)
if (receiver==PT_NTCT||receiver==PT_PTCT)
continue;
}
break;
case PT_EMP:
if (!parts[r>>8].life && parts[i].life > 0 && parts[i].life < 4)
{
@@ -248,7 +249,7 @@ int Element_SPRK::update(UPDATE_FUNC_ARGS)
sim->emp_decor = 40;
parts[r>>8].life = 220;
}
break;
continue;
}

if (pavg == PT_INSL) continue; //Insulation blocks everything past here

0 comments on commit 2725a32

Please sign in to comment.