Don't pickup power-ups if you are flashing or (s)tumbling

This commit is contained in:
James R 2023-06-29 22:25:31 -07:00
parent 45d1d2cd48
commit 42f140399f

View file

@ -335,6 +335,9 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
case MT_FLOATINGITEM: // SRB2Kart
if (special->threshold >= FIRSTPOWERUP)
{
if (player->flashing || player->tumbleBounces > 0)
return;
K_GivePowerUp(player, special->threshold, special->movecount);
}
else