summaryrefslogtreecommitdiff
path: root/src/simulation/Simulation.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-25 16:52:26 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-25 16:52:26 (GMT)
commit2135d886442f6d44a07ca8b34ec410e9ed0a4126 (patch)
treea9fbd82bf3f0bd5b2451f2164745e29a3e49ab5e /src/simulation/Simulation.cpp
parent799954f38339c2f69ed2f297751b8c30dd57a683 (diff)
downloadpowder-2135d886442f6d44a07ca8b34ec410e9ed0a4126.zip
powder-2135d886442f6d44a07ca8b34ec410e9ed0a4126.tar.gz
TPT: Reset particle flags in create_part 135e91b84d
Diffstat (limited to 'src/simulation/Simulation.cpp')
-rw-r--r--src/simulation/Simulation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp
index defe436..5a40c82 100644
--- a/src/simulation/Simulation.cpp
+++ b/src/simulation/Simulation.cpp
@@ -2606,6 +2606,7 @@ int Simulation::create_part(int p, int x, int y, int tv)//the function for creat
if (i>parts_lastActiveIndex) parts_lastActiveIndex = i;
parts[i].dcolour = 0;
+ parts[i].flags = 0;
if (t==PT_GLAS)
{
parts[i].pavg[1] = pv[y/CELL][x/CELL];