mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Ensure player picking up dropped Emerald actualls receives it
This commit is contained in:
parent
458158d16a
commit
be5f632381
1 changed files with 1 additions and 0 deletions
|
|
@ -551,6 +551,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
|
||||||
{
|
{
|
||||||
const tic_t orbit = 2*TICRATE;
|
const tic_t orbit = 2*TICRATE;
|
||||||
Obj_BeginEmeraldOrbit(special, toucher, toucher->radius, orbit, orbit * 20);
|
Obj_BeginEmeraldOrbit(special, toucher, toucher->radius, orbit, orbit * 20);
|
||||||
|
Obj_SetEmeraldAwardee(special, toucher);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue