summaryrefslogtreecommitdiff
path: root/src/simulation/Simulation.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2012-10-12 17:11:34 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-10-26 14:12:05 (GMT)
commitccd9284e61ee453e8f0541af671c3199548853a4 (patch)
tree5900e41b3ff498ddaed5e3c9a5538a060c280e3b /src/simulation/Simulation.cpp
parentc58a3fb2dc8afe4ce3dbca290afddd4fd906dbb5 (diff)
downloadpowder-ccd9284e61ee453e8f0541af671c3199548853a4.zip
powder-ccd9284e61ee453e8f0541af671c3199548853a4.tar.gz
improve the GOL menu descriptions
Diffstat (limited to 'src/simulation/Simulation.cpp')
-rw-r--r--src/simulation/Simulation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp
index 023d90c..b98b3bd 100644
--- a/src/simulation/Simulation.cpp
+++ b/src/simulation/Simulation.cpp
@@ -2504,7 +2504,7 @@ void Simulation::kill_part(int i)//kills particle number i
if (parts[i].type == PT_NONE)
return;
- if(parts[i].type > 0 && parts[i].type < PT_NUM && elementCount[parts[i].type] && parts[i].type)
+ if(parts[i].type > 0 && parts[i].type < PT_NUM && elementCount[parts[i].type])
elementCount[parts[i].type]--;
if (parts[i].type == PT_STKM)
{