From b6e69e8126a17b29dfa65672b5d2bdffda28c7d1 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Fri, 21 Dec 2012 00:18:10 -0500 Subject: [PATCH] Fix small mistake in TSNS --- src/simulation/elements/TSNS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation/elements/TSNS.cpp b/src/simulation/elements/TSNS.cpp index a4abbaf0b..ae390058c 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;