Fixed camera rotating with Lara's hips when climbing out of water - fixes #1311

This commit is contained in:
Joey Quint 2024-04-28 22:05:58 +02:00
parent 7f9f5c619a
commit 77cd0644f7
2 changed files with 2 additions and 2 deletions

View file

@ -3,6 +3,7 @@ Version 1.5
* Fixed original issue with classic switch off trigger wrongly activating some trigger actions.
* Fixed incorrect diving animation when swandiving from a high place.
* Fixed camera rotating with Lara's hips when climbing out of water.
* Fixed AI for skidoo driver and worker with shotgun TR2 enemies.
Lua API changes:

View file

@ -273,6 +273,5 @@ void lara_as_surface_climb_out(ItemInfo* item, CollisionInfo* coll)
player.Control.Look.Mode = LookMode::None;
coll->Setup.EnableObjectPush = false;
coll->Setup.EnableSpasm = false;
Camera.flags = CF_FOLLOW_CENTER;
Camera.laraNode = LM_HIPS; // Forces the camera to follow Lara instead of snapping.
Camera.flags = CF_FOLLOW_CENTER; // Forces the camera to follow Lara instead of snapping.
}