summaryrefslogtreecommitdiff
path: root/src/simulation/elements/ELEC.cpp
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2012-10-26 23:51:01 (GMT)
committer jacksonmj <mj-pt@jacksonmj.co.uk>2012-10-26 23:56:02 (GMT)
commit9a0ca32372f4386c5929dde2ff824c28d8e71d1c (patch)
treed3351d3efc332e2f1107882a81c15cedf78012fb /src/simulation/elements/ELEC.cpp
parent9b4f710e28bd7d14bec0ce67d19d75cb6a67c5a6 (diff)
downloadpowder-9a0ca32372f4386c5929dde2ff824c28d8e71d1c.zip
powder-9a0ca32372f4386c5929dde2ff824c28d8e71d1c.tar.gz
Make conversion of PHOT to ELEC using BIZR, and enrichment of DEUT with ELEC, work better
Diffstat (limited to 'src/simulation/elements/ELEC.cpp')
-rw-r--r--src/simulation/elements/ELEC.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/simulation/elements/ELEC.cpp b/src/simulation/elements/ELEC.cpp
index e9d1f5a..c602da8 100644
--- a/src/simulation/elements/ELEC.cpp
+++ b/src/simulation/elements/ELEC.cpp
@@ -123,7 +123,6 @@ int Element_ELEC::update(UPDATE_FUNC_ARGS)
if(parts[r>>8].life < 6000)
parts[r>>8].life += 1;
parts[r>>8].temp = 0;
- parts[i].temp = 0;
sim->kill_part(i);
return 1;
}