dont trigger rumble in offroad when under hyu effect

This commit is contained in:
Alug committed 2024-09-08 23:09:09 +02:00
1 parent 2ffb37e8ec
commit 8b9efaa179
1 file changed
+1 -1
+1 -1
View File
@@ -366,7 +366,7 @@ static inline void P_DeviceRumbleTick(void)
{
low = high = 65536 / 8;
}
else if ((player->kartstuff[k_offroad])
else if ((player->kartstuff[k_offroad] && !player->kartstuff[k_hyudorotimer])
&& P_IsObjectOnGround(player->mo) && player->speed != 0)
{
low = high = 65536 / 64;