Fixed CLST tmp value carrying over when converted by water

This commit is contained in:
Sourec 2015-06-05 21:40:28 -04:00
parent 315b07c294
commit 7d7bf5eff6

View File

@ -62,6 +62,7 @@ int Element_CLST::update(UPDATE_FUNC_ARGS)
{ {
if (!(rand()%1500)) if (!(rand()%1500))
{ {
parts[i].tmp = 0;
sim->part_change_type(i,x,y,PT_PSTS); sim->part_change_type(i,x,y,PT_PSTS);
sim->kill_part(r>>8); sim->kill_part(r>>8);
} }