cold phot doesn't burn things
This commit is contained in:
parent
05e32f1698
commit
14c0ea59a9
@ -57,7 +57,8 @@ int Element_PHOT::update(UPDATE_FUNC_ARGS)
|
||||
sim->kill_part(i);
|
||||
return 1;
|
||||
}
|
||||
if (1>rand()%10) Element_FIRE::update(UPDATE_FUNC_SUBCALL_ARGS);
|
||||
if (parts[i].temp > 506)
|
||||
if (1>rand()%10) Element_FIRE::update(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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user