From b17717babe2a2c2f89a37d5de5fb7eebef0ba15e Mon Sep 17 00:00:00 2001 From: James R Date: Tue, 1 Feb 2022 02:42:33 -0800 Subject: [PATCH] A_LobShot: remove ??? MT_NULL spawning, not cool bro. (cherry picked from commit f6f002e70b645982dddd83d6f831a601faa0fdae) --- src/p_enemy.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/p_enemy.c b/src/p_enemy.c index d78089e06..ffac4524b 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -2474,7 +2474,7 @@ void A_LobShot(mobj_t *actor) { INT32 locvar1 = var1; INT32 locvar2 = var2 >> 16; - mobj_t *shot, *hitspot; + mobj_t *shot; angle_t an; fixed_t z; fixed_t dist; @@ -2502,11 +2502,6 @@ void A_LobShot(mobj_t *actor) shot->destscale = actor->scale; P_SetScale(shot, actor->scale); - // Keep track of where it's going to land - hitspot = P_SpawnMobj(actor->target->x&(64*FRACUNIT-1), actor->target->y&(64*FRACUNIT-1), actor->target->subsector->sector->floorheight, MT_NULL); - hitspot->tics = airtime; - P_SetTarget(&shot->tracer, hitspot); - P_SetTarget(&shot->target, actor); // where it came from P_InitAngle(shot, actor->angle);