use part_change_type in legacy fire update, closes #418

This commit is contained in:
jacob1 2017-05-09 21:45:42 -04:00
parent 0f40db4ef9
commit 8830120479

View File

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