From c40b25d70075f471e6ee6b4474e098d5f8b220a1 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Sun, 9 Feb 2020 05:18:30 +0300 Subject: [PATCH] that camera fix was not a fix --- src/game/g_player.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/g_player.pas b/src/game/g_player.pas index 2ec93df..59e6456 100644 --- a/src/game/g_player.pas +++ b/src/game/g_player.pas @@ -4827,7 +4827,7 @@ begin if FDirection = TDirection.D_LEFT then FAngle := ANGLE_LEFTDOWN else FAngle := ANGLE_RIGHTDOWN; - if FIncCam > -120.0 * g_dbg_scale then DecMin(FIncCam, 5, Integer(-120.0 * g_dbg_scale)); + if FIncCam > -120 then DecMin(FIncCam, 5, -120); end; procedure TPlayer.SeeUp(); @@ -4836,7 +4836,7 @@ begin if FDirection = TDirection.D_LEFT then FAngle := ANGLE_LEFTUP else FAngle := ANGLE_RIGHTUP; - if FIncCam < 120.0 * g_dbg_scale then IncMax(FIncCam, 5, Integer(120.0 * g_dbg_scale)); + if FIncCam < 120 then IncMax(FIncCam, 5, 120); end; procedure TPlayer.SetAction(Action: Byte; Force: Boolean = False); -- 2.29.2