Skip to content

Commit

Permalink
use part_change_type in legacy fire update, closes #418
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed May 10, 2017
1 parent 0f40db4 commit 8830120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulation/elements/FIRE.cpp
Expand Up @@ -198,7 +198,7 @@ int Element_FIRE::updateLegacy(UPDATE_FUNC_ARGS) {
}
if (rt==PT_ICEI || rt==PT_SNOW)
{
parts[r>>8].type = PT_WATR;
sim->part_change_type(r>>8, x+rx, y+ry, PT_WATR);
if (t==PT_FIRE)
{
sim->kill_part(i);
Expand Down

0 comments on commit 8830120

Please sign in to comment.