small improvement to 7d7bf5eff6

This commit is contained in:
jacob1 2015-07-07 20:22:03 -04:00
parent f95db0278e
commit e9d6519800

View File

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