only rumble banan when on ground

This commit is contained in:
Alug committed 2025-01-16 23:32:59 +01:00
1 parent 127e2bcf27
commit 55f2841c33
1 file changed
+1 -1
+1 -1
View File
@@ -440,7 +440,7 @@ static void P_DeviceRumbleTick(void)
{
low = FRACUNIT / 256;
}
else if (player->kartstuff[k_bananadrag] > TICRATE)
else if (player->kartstuff[k_bananadrag] > TICRATE && P_IsObjectOnGround(player->mo))
{
if (leveltime & 1) // this is actually funny lel
high = FRACUNIT / 64;