summaryrefslogtreecommitdiff
path: root/src/simulation/elements/PIPE.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation/elements/PIPE.cpp')
-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
{