mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-09 12:46:19 +00:00
Merge branch 'ring-pickup-delete' into 'master'
Ring Pickup Delete (Resolves #1227 but needs TA verification) Closes #1227 See merge request KartKrew/Kart!2208
This commit is contained in:
commit
699439d3b7
1 changed files with 5 additions and 0 deletions
|
|
@ -685,6 +685,11 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
|
|||
special->extravalue1 = 1; // Ring collect animation timer
|
||||
special->angle = R_PointToAngle2(toucher->x, toucher->y, special->x, special->y); // animation angle
|
||||
P_SetTarget(&special->target, toucher); // toucher for thinker
|
||||
|
||||
// For MT_FLINGRING - don't delete yourself mid-pickup.
|
||||
special->renderflags &= ~RF_DONTDRAW;
|
||||
special->fuse = 0;
|
||||
|
||||
player->pickuprings++;
|
||||
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue