Skip to content

Commit

Permalink
Fixed CLST tmp value carrying over when converted by water
Browse files Browse the repository at this point in the history
  • Loading branch information
C7C8 committed Jun 6, 2015
1 parent 315b07c commit 7d7bf5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/simulation/elements/CLST.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit 7d7bf5e

Please sign in to comment.