summaryrefslogtreecommitdiff
path: root/src/elements/aray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/aray.cpp')
-rw-r--r--src/elements/aray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/aray.cpp b/src/elements/aray.cpp
index 8505d81..a4e8c63 100644
--- a/src/elements/aray.cpp
+++ b/src/elements/aray.cpp
@@ -63,7 +63,7 @@ int update_ARAY(UPDATE_FUNC_ARGS) {
if (np!=-1)
{
parts[np].temp = parts[r>>8].temp;
- parts[np].life = parts[r>>8].flags;
+ parts[np].life = parts[r>>8].tmp2;
parts[np].tmp = parts[r>>8].pavg[0];
parts[np].ctype = parts[r>>8].pavg[1];
parts[r>>8].tmp = 0;