mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Fix the flung Brak not being removed on deathpits.
This commit is contained in:
parent
0d433b9e51
commit
0d4158bbd0
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…
Reference in a new issue