summaryrefslogtreecommitdiff
path: root/src/simulation/elements/TSNS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation/elements/TSNS.cpp')
-rw-r--r--src/simulation/elements/TSNS.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/elements/TSNS.cpp b/src/simulation/elements/TSNS.cpp
index a4abbaf..ae39005 100644
--- a/src/simulation/elements/TSNS.cpp
+++ b/src/simulation/elements/TSNS.cpp
@@ -82,7 +82,7 @@ int Element_TSNS::update(UPDATE_FUNC_ARGS)
r = sim->photons[y+ry][x+rx];
if(!r)
continue;
- if (parts[r>>8].temp > parts[i].temp && parts[r>>8].type != PT_TSNS && parts[i].type != PT_METL)
+ if (parts[r>>8].temp > parts[i].temp && parts[r>>8].type != PT_TSNS && parts[r>>8].type != PT_METL)
parts[i].life = 1;
}
return 0;