summaryrefslogtreecommitdiff
path: root/src/simulation/elements/TRON.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-06-12 20:30:08 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-06-12 20:30:08 (GMT)
commit19d071f10b477059680baa905878c77dd7f6b80a (patch)
tree0af35edf82007d84e68a5c5c3bc00fc20a8d568a /src/simulation/elements/TRON.cpp
parentc7ec0b76f6ddb0509870d52902567b7662ec0a9c (diff)
downloadpowder-19d071f10b477059680baa905878c77dd7f6b80a.zip
powder-19d071f10b477059680baa905878c77dd7f6b80a.tar.gz
TPT: Tron wasn't keeping its NODIE flag
Diffstat (limited to 'src/simulation/elements/TRON.cpp')
-rw-r--r--src/simulation/elements/TRON.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/elements/TRON.cpp b/src/simulation/elements/TRON.cpp
index e883a17..6d54125 100644
--- a/src/simulation/elements/TRON.cpp
+++ b/src/simulation/elements/TRON.cpp
@@ -125,7 +125,7 @@ int Element_TRON::update(UPDATE_FUNC_ARGS)
//set own life and clear .tmp (it dies if it can't move anyway)
parts[i].life = parts[i].tmp2;
- parts[i].tmp &= parts[i].tmp&0xF810;
+ parts[i].tmp &= parts[i].tmp&0xF818;
}
else // fade tail deco, or prevent tail from dieing
{