mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-28 23:21:58 +00:00
Merge branch 'issue1185' into 'next'
Don't forget to check for dead dontdrawforviewmobjs!! See merge request STJr/SRB2!2325
This commit is contained in:
commit
706274623d
1 changed files with 2 additions and 0 deletions
|
@ -10294,6 +10294,8 @@ void P_MobjThinker(mobj_t *mobj)
|
||||||
P_SetTarget(&mobj->hnext, NULL);
|
P_SetTarget(&mobj->hnext, NULL);
|
||||||
if (mobj->hprev && P_MobjWasRemoved(mobj->hprev))
|
if (mobj->hprev && P_MobjWasRemoved(mobj->hprev))
|
||||||
P_SetTarget(&mobj->hprev, NULL);
|
P_SetTarget(&mobj->hprev, NULL);
|
||||||
|
if (mobj->dontdrawforviewmobj && P_MobjWasRemoved(mobj->dontdrawforviewmobj))
|
||||||
|
P_SetTarget(&mobj->dontdrawforviewmobj, NULL);
|
||||||
|
|
||||||
mobj->eflags &= ~(MFE_PUSHED|MFE_SPRUNG);
|
mobj->eflags &= ~(MFE_PUSHED|MFE_SPRUNG);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue