Fire and Plsm create wtrv, not dstw (#979)

This commit is contained in:
jm211
2024-12-02 12:51:06 -05:00
committed by jacob1
parent 0ad91f74f2
commit f3c73c8658

View File

@@ -68,7 +68,7 @@ int Element_FIRE_update(UPDATE_FUNC_ARGS)
parts[i].life = 0; parts[i].life = 0;
} }
else if ((parts[i].tmp&0x3) == 3){ else if ((parts[i].tmp&0x3) == 3){
sim->part_change_type(i,x,y,PT_DSTW); sim->part_change_type(i,x,y,PT_WTRV);
parts[i].life = 0; parts[i].life = 0;
parts[i].ctype = PT_FIRE; parts[i].ctype = PT_FIRE;
} }
@@ -78,7 +78,7 @@ int Element_FIRE_update(UPDATE_FUNC_ARGS)
if (parts[i].life <=1) if (parts[i].life <=1)
{ {
if ((parts[i].tmp&0x3) == 3){ if ((parts[i].tmp&0x3) == 3){
sim->part_change_type(i,x,y,PT_DSTW); sim->part_change_type(i,x,y,PT_WTRV);
parts[i].life = 0; parts[i].life = 0;
parts[i].ctype = PT_FIRE; parts[i].ctype = PT_FIRE;
} }