Permalink
Browse files

Merge pull request #256 from Sourec/brick-fix

Fixed CLST tmp value carrying over when converted by water
  • Loading branch information...
jacksonmj committed Jun 8, 2015
2 parents 315b07c + 7d7bf5e commit 090585abf6c78534a38cdfd6d8c18240eb51833e
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/simulation/elements/CLST.cpp
@@ -62,6 +62,7 @@ int Element_CLST::update(UPDATE_FUNC_ARGS)
{
if (!(rand()%1500))
{
parts[i].tmp = 0;
sim->part_change_type(i,x,y,PT_PSTS);
sim->kill_part(r>>8);
}

0 comments on commit 090585a

Please sign in to comment.