summaryrefslogtreecommitdiff
path: root/src/simulation/elements
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-10 21:30:19 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-10 21:30:19 (GMT)
commita6b3674f22b429dd4e8d5c146cd0b766baf886df (patch)
tree801e722a14241b8c461f2075fff14d718e87fed9 /src/simulation/elements
parent92311a38c0c9b9e3ea996c1131a4a1523f62e57f (diff)
downloadpowder-a6b3674f22b429dd4e8d5c146cd0b766baf886df.zip
powder-a6b3674f22b429dd4e8d5c146cd0b766baf886df.tar.gz
Fix PIPE, fixes #92
Diffstat (limited to 'src/simulation/elements')
-rw-r--r--src/simulation/elements/PIPE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/elements/PIPE.cpp b/src/simulation/elements/PIPE.cpp
index 2370b05..6bbc2cd 100644
--- a/src/simulation/elements/PIPE.cpp
+++ b/src/simulation/elements/PIPE.cpp
@@ -97,7 +97,7 @@ int Element_PIPE::update(UPDATE_FUNC_ARGS)
{
if (parts[i].flags&PFLAG_NORMALSPEED)//skip particle push to prevent particle number being higher causeing speed up
{
- parts[i].tmp2 &= ~PFLAG_NORMALSPEED;
+ parts[i].flags &= ~PFLAG_NORMALSPEED;
}
else
{