readd mobj null check here

This commit is contained in:
Alug committed 2024-10-26 16:39:39 +02:00
1 parent 7e81337298
commit 461ca659f8
1 file changed
+3
+3
View File
@@ -6954,6 +6954,9 @@ void P_MobjThinker(mobj_t *mobj)
// separate thinker
if (mobj->flags & MF_PUSHABLE || (mobj->info->flags & MF_PUSHABLE && mobj->fuse))
{
if (!mobj)
return;
P_MobjCheckWater(mobj);
P_PushableThinker(mobj);