From f3c73c8658b8f7c546ed7ce4110d24e0db8c28e0 Mon Sep 17 00:00:00 2001 From: jm211 <81584204+JustinShurie@users.noreply.github.com> Date: Mon, 2 Dec 2024 12:51:06 -0500 Subject: [PATCH] Fire and Plsm create wtrv, not dstw (#979) --- src/simulation/elements/FIRE.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/simulation/elements/FIRE.cpp b/src/simulation/elements/FIRE.cpp index 35b5b3372..56f95f758 100644 --- a/src/simulation/elements/FIRE.cpp +++ b/src/simulation/elements/FIRE.cpp @@ -68,7 +68,7 @@ int Element_FIRE_update(UPDATE_FUNC_ARGS) parts[i].life = 0; } 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].ctype = PT_FIRE; } @@ -78,7 +78,7 @@ int Element_FIRE_update(UPDATE_FUNC_ARGS) if (parts[i].life <=1) { 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].ctype = PT_FIRE; }