A_LobShot: remove ???

MT_NULL spawning, not cool bro.
This commit is contained in:
James R 2022-02-01 02:42:33 -08:00
parent 0a0c17da7c
commit f6f002e70b

View file

@ -2655,7 +2655,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;
@ -2694,11 +2694,6 @@ void A_LobShot(mobj_t *actor)
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
shot->angle = an = actor->angle;