diff --git a/src/p_mobj.c b/src/p_mobj.c index 4e6a8bf9c..d785869c8 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -9320,9 +9320,6 @@ mobj_t *P_SpawnMobj(fixed_t x, fixed_t y, fixed_t z, mobjtype_t type) const mobjinfo_t *info = &mobjinfo[type]; state_t *st; mobj_t *mobj = Z_Calloc(sizeof (*mobj), PU_LEVEL, NULL); - - if (type == MT_NULL) - return NULL; // this is officially a mobj, declared as soon as possible. mobj->thinker.function.acp1 = (actionf_p1)P_MobjThinker;