Fix small mistake in TSNS

This commit is contained in:
jacob1
2012-12-21 00:18:10 -05:00
parent a91459916d
commit b6e69e8126

View File

@@ -82,7 +82,7 @@ int Element_TSNS::update(UPDATE_FUNC_ARGS)
r = sim->photons[y+ry][x+rx]; r = sim->photons[y+ry][x+rx];
if(!r) if(!r)
continue; 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; parts[i].life = 1;
} }
return 0; return 0;