Skip to content

Commit

Permalink
small improvement to 7d7bf5e
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Jul 8, 2015
1 parent f95db02 commit e9d6519
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/simulation/elements/CLST.cpp
Expand Up @@ -62,8 +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->create_part(i, x, y, PT_PSTS);
sim->kill_part(r>>8);
}
}
Expand Down

0 comments on commit e9d6519

Please sign in to comment.