mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix the flung Brak not being removed on deathpits.
This commit is contained in:
parent
a0c10542dd
commit
7252546100
1 changed files with 5 additions and 5 deletions
10
src/p_mobj.c
10
src/p_mobj.c
|
|
@ -8200,13 +8200,13 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
var2 = 0;
|
||||
A_BossScream(mobj);
|
||||
}
|
||||
if (P_CheckDeathPitCollide(mobj))
|
||||
{
|
||||
P_RemoveMobj(mobj);
|
||||
return;
|
||||
}
|
||||
if (mobj->momz && mobj->z+mobj->momz <= mobj->floorz)
|
||||
{
|
||||
if (P_CheckDeathPitCollide(mobj))
|
||||
{
|
||||
P_RemoveMobj(mobj);
|
||||
return;
|
||||
}
|
||||
S_StartSound(mobj, sfx_befall);
|
||||
if (mobj->state != states+S_CYBRAKDEMON_DIE8)
|
||||
P_SetMobjState(mobj, S_CYBRAKDEMON_DIE8);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue