From 42f140399fc37dbdc3ed195a19ce942d01f8f7dc Mon Sep 17 00:00:00 2001 From: James R Date: Thu, 29 Jun 2023 22:25:31 -0700 Subject: [PATCH] Don't pickup power-ups if you are flashing or (s)tumbling --- src/p_inter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/p_inter.c b/src/p_inter.c index e2c5ed6fc..e6eea1dbd 100644 --- a/src/p_inter.c +++ b/src/p_inter.c @@ -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