mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-05 00:12:16 +00:00
MT_FLOATINGITEM: Don't pick (back?) up immediately
Happened very frequently with Blend Eye
This commit is contained in:
parent
71d301779b
commit
4bc8f80d64
1 changed files with 3 additions and 0 deletions
|
|
@ -392,6 +392,9 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
|
||||||
P_InstaThrust(player->mo, player->mo->angle, 20<<FRACBITS);
|
P_InstaThrust(player->mo, player->mo->angle, 20<<FRACBITS);
|
||||||
return;
|
return;
|
||||||
case MT_FLOATINGITEM: // SRB2Kart
|
case MT_FLOATINGITEM: // SRB2Kart
|
||||||
|
// Avoid being picked up immediately
|
||||||
|
if (special->scale < special->destscale/2)
|
||||||
|
return;
|
||||||
if (special->threshold >= FIRSTPOWERUP)
|
if (special->threshold >= FIRSTPOWERUP)
|
||||||
{
|
{
|
||||||
if (P_PlayerInPain(player))
|
if (P_PlayerInPain(player))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue