mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-17 04:02:50 +00:00
Obj_BeginEmeraldOrbit: set emerald punt_ref to orbit target
This commit is contained in:
parent
2277b2017e
commit
e51fa390c1
1 changed files with 1 additions and 0 deletions
|
|
@ -276,6 +276,7 @@ static void spawn_lens_flare(mobj_t *emerald)
|
|||
void Obj_BeginEmeraldOrbit(mobj_t *emerald, mobj_t *target, fixed_t radius, INT32 revolution_time, tic_t fuse)
|
||||
{
|
||||
P_SetTarget(&emerald_orbit(emerald), target);
|
||||
P_SetTarget(&emerald->punt_ref, target);
|
||||
|
||||
if (P_MobjWasRemoved(emerald_award(emerald)))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue