mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-08 17:13:15 +00:00
Fix fire objects disappearing in lava
This commit is contained in:
parent
6dea40beaa
commit
5fc6864cc2
1 changed files with 2 additions and 2 deletions
|
|
@ -7937,7 +7937,7 @@ static boolean P_MobjPushableThink(mobj_t *mobj)
|
|||
P_PushableThinker(mobj);
|
||||
|
||||
// Extinguish fire objects in water. (Yes, it's extraordinarily rare to have a pushable flame object, but Brak uses such a case.)
|
||||
if (mobj->flags & MF_FIRE && mobj->type != MT_PUMA && mobj->type != MT_FIREBALL
|
||||
if (mobj->flags & MF_FIRE && mobj->eflags ! MFE_TOUCHLAVA
|
||||
&& (mobj->eflags & (MFE_UNDERWATER | MFE_TOUCHWATER)))
|
||||
{
|
||||
P_KillMobj(mobj, NULL, NULL, 0);
|
||||
|
|
@ -9705,7 +9705,7 @@ static boolean P_MobjRegularThink(mobj_t *mobj)
|
|||
P_MobjCheckWater(mobj);
|
||||
|
||||
// Extinguish fire objects in water
|
||||
if (mobj->flags & MF_FIRE && mobj->type != MT_PUMA && mobj->type != MT_FIREBALL
|
||||
if (mobj->flags & MF_FIRE && mobj->eflags ! MFE_TOUCHLAVA
|
||||
&& (mobj->eflags & (MFE_UNDERWATER|MFE_TOUCHWATER)))
|
||||
{
|
||||
P_KillMobj(mobj, NULL, NULL, 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue