mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'ensure-emerald-pickup' into 'master'
Ensure player picking up dropped Emerald actualls receives it Closes #886 See merge request KartKrew/Kart!1819
This commit is contained in:
commit
ab82e417bc
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