Fix min/max allowing for theoretical handling breakage in camera-sliptide logic

This commit is contained in:
AJ Martinez 2023-04-12 00:47:00 -07:00
parent 01813c91ba
commit d870bf0416

View file

@ -2254,7 +2254,7 @@ static void P_UpdatePlayerAngle(player_t *player)
}
else
{
steeringLeft = min(steeringLeft, max(steeringRight, -1));
steeringLeft = min(steeringLeft, min(steeringRight, -1));
steeringRight = min(steeringLeft, -1);
}
}