cold phot doesn't burn things

This commit is contained in:
jacob1 2012-08-10 10:23:11 -04:00 committed by jacksonmj
parent 62c7721f02
commit 40d9f48b72

View File

@ -24,7 +24,8 @@ int update_PHOT(UPDATE_FUNC_ARGS) {
kill_part(i);
return 1;
}
if (1>rand()%10) update_PYRO(UPDATE_FUNC_SUBCALL_ARGS);
if (parts[i].temp > 506)
if (1>rand()%10) update_PYRO(UPDATE_FUNC_SUBCALL_ARGS);
for (rx=-1; rx<2; rx++)
for (ry=-1; ry<2; ry++)
if (x+rx>=0 && y+ry>=0 && x+rx<XRES && y+ry<YRES && (rx || ry)) {