Merge pull request #256 from Sourec/brick-fix

Fixed CLST tmp value carrying over when converted by water
This commit is contained in:
jacksonmj 2015-06-08 20:29:13 +01:00
commit 090585abf6

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);
} }