mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 12:47:58 +03:00
tr2/camera: reset last camera on initialise
This resets the last camera on initialisation to prevent issues when levels begin with an in-game cutscene and then immediately move to a fixed camera. Resolves #2129.
This commit is contained in:
parent
5ce2bd2d3e
commit
d6ad01862c
2 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
- fixed Lara prioritising throwing a spent flare while mid-air, so to avoid missing ledge grabs (#1989)
|
||||
- fixed software renderer not applying underwater tint (#2066, regression from 0.7)
|
||||
- fixed some enemies not looking at Lara (#2080, regression from 0.6)
|
||||
- fixed the camera getting stuck at the start of Home Sweet Home (#2129, regression from 0.7)
|
||||
|
||||
## [0.7.1](https://github.com/LostArtefacts/TRX/compare/tr2-0.7...tr2-0.7.1) - 2024-12-17
|
||||
- fixed a crash when selecting the sound option (#2057, regression from 0.6)
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
void Camera_Initialise(void)
|
||||
{
|
||||
g_Camera.last = NO_CAMERA;
|
||||
Camera_ResetPosition();
|
||||
Output_AlterFOV(GAME_FOV * PHD_DEGREE);
|
||||
Camera_Update();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue