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:
Oni 2024-01-12 03:51:58 +00:00
commit ab82e417bc

View file

@ -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;