Fix Speedcap removal vars being broken

This commit is contained in:
NepDisk 2026-02-06 16:44:14 -05:00
parent 1c1a7998e2
commit 66defc522b

View file

@ -2033,7 +2033,7 @@ static void P_3dMovement(player_t *player)
// If "no" to 1, we're not reaching any limits yet, so ignore this entirely!
// -Shadow Hog
newMagnitude = R_PointToDist2(player->mo->momx - player->cmomx, player->mo->momy - player->cmomy, 0, 0);
if (player->offroad > 0 || player->loop.radius == 0 || player->outruntime == 0)
if (player->offroad > 0 || (player->loop.radius == 0 && player->outruntime == 0))
{
if (newMagnitude > K_GetKartSpeed(player, true, true)) //topspeed)
{