From a9e689858ba38c539a6c76a6fe97f8e1674bf89a Mon Sep 17 00:00:00 2001 From: walkawayy <81546780+walkawayy@users.noreply.github.com> Date: Sat, 11 May 2024 20:44:20 -0400 Subject: [PATCH] lara_look: fix upside down frame when looking forward too far Resolves #1338. --- CHANGELOG.md | 1 + README.md | 1 + src/global/const.h | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0463b6818..bf7b3afc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - `/hp [num]` - `/heal` - fixed config tool and installer missing icons (#1358, regression from 4.0) +- fixed looking forward too far causing an upside down camera frame (#1338) ## [4.1.2](https://github.com/LostArtefacts/TR1X/compare/4.1.1...4.1.2) - 2024-04-28 - fixed pictures display time (#1349, regression from 4.1) diff --git a/README.md b/README.md index cd08a61eb..1c1a37f67 100644 --- a/README.md +++ b/README.md @@ -321,6 +321,7 @@ Not all options are turned on by default. Refer to `TR1X_ConfigTool.exe` for det - fixed Lara saying "no" when taking valid actions in front of a key item receptacle - fixed Lara not saying "no" when using the Scion incorrectly - fixed flickering in bats' death animations and rapid shooting if Lara continues to fire when they are killed +- fixed looking forward too far causing an upside down camera frame #### Cheats - added a fly cheat diff --git a/src/global/const.h b/src/global/const.h index 4a53c9cda..45d7a3d70 100644 --- a/src/global/const.h +++ b/src/global/const.h @@ -84,7 +84,7 @@ #define DEATH_WAIT_MIN (2 * LOGIC_FPS) #define MAX_HEAD_ROTATION (50 * PHD_DEGREE) // = 9100 #define MAX_HEAD_TILT_LOOK (22 * PHD_DEGREE) // = 4004 -#define MIN_HEAD_TILT_LOOK (-42 * PHD_DEGREE) // = -7644 +#define MIN_HEAD_TILT_LOOK (-35 * PHD_DEGREE) // = -6370 #define MAX_HEAD_TILT_CAM (85 * PHD_DEGREE) // = 15470 #define MIN_HEAD_TILT_CAM (-85 * PHD_DEGREE) // = 15470 #define HEAD_TURN (4 * PHD_DEGREE) // = 728