logic error lmao oops

This commit is contained in:
Alug committed 2025-01-01 21:53:01 +01:00
1 parent 5d44b44558
commit 54fda32591
1 file changed
+1 -12
+1 -12
View File
@@ -424,7 +424,7 @@ static void P_DeviceRumbleTick(void)
if (player->kartstuff[k_brakedrift])
{
high += FRACUNIT / 256;
high = CLAMP((high + FRACUNIT / 256), 0, UINT16_MAX);
}
// hack alert! i just dont want this thing constantly resetting the rumble lol
@@ -433,17 +433,6 @@ static void P_DeviceRumbleTick(void)
continue;
}
// pls dont overflow or smth lel
if (low > FRACUNIT-1)
{
low = FRACUNIT-1;
}
if (high > FRACUNIT-1)
{
high = FRACUNIT-1;
}
G_PlayerDeviceRumble(i, low, high, 57);
}
}