mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
A_LobShot: remove ???
MT_NULL spawning, not cool bro. (cherry picked from commit f6f002e70b645982dddd83d6f831a601faa0fdae)
This commit is contained in:
parent
aa5063668e
commit
b17717babe
1 changed files with 1 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue