summaryrefslogtreecommitdiff
path: root/src/simulation/elements/TSNS.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2012-12-21 05:18:10 (GMT)
committer jacob1 <jfu614@gmail.com>2012-12-21 05:18:10 (GMT)
commitb6e69e8126a17b29dfa65672b5d2bdffda28c7d1 (patch)
treea937805d9195eac49d81c3f946311d158b2dfc9e /src/simulation/elements/TSNS.cpp
parenta91459916d016d1e10708373f44c116bb77eb407 (diff)
downloadpowder-b6e69e8126a17b29dfa65672b5d2bdffda28c7d1.zip
powder-b6e69e8126a17b29dfa65672b5d2bdffda28c7d1.tar.gz
Fix small mistake in TSNS
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;