Permalink
Browse files

use part_change_type in legacy fire update, closes #418

  • Loading branch information...
jacob1 committed May 10, 2017
1 parent 0f40db4 commit 8830120479966bbb41a0ea9e89d4d40540579a66
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/simulation/elements/FIRE.cpp
@@ -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);

0 comments on commit 8830120

Please sign in to comment.