mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Fixed camera behaviour on sloped surfaces after player's death
This commit is contained in:
parent
79679554e3
commit
f1f2d165c5
2 changed files with 2 additions and 2 deletions
|
@ -24,6 +24,7 @@ TombEngine releases are located in this repository (alongside with Tomb Editor):
|
|||
* Fixed incorrect diving animation when swandiving from a high place.
|
||||
* Fixed room clipping when flyby path goes out of room bounds.
|
||||
* Fixed camera rotating with the player's hips when climbing out of water.
|
||||
* Fixed camera behaviour on sloped surfaces after player's death.
|
||||
* Fixed camera position after loading a savegame.
|
||||
* Fixed broken ropes after loading a savegame.
|
||||
* Fixed AI for TR2 Skidoo driver and Worker with shotgun.
|
||||
|
|
|
@ -1289,8 +1289,7 @@ void CalculateCamera(const CollisionInfo& coll)
|
|||
Camera.DisableInterpolation = (Camera.DisableInterpolation || Camera.lastType != Camera.type);
|
||||
Camera.lastType = Camera.type;
|
||||
|
||||
if ((Camera.type != CameraType::Heavy || Camera.timer == -1) &&
|
||||
LaraItem->HitPoints > 0)
|
||||
if (Camera.type != CameraType::Heavy || Camera.timer == -1)
|
||||
{
|
||||
Camera.type = CameraType::Chase;
|
||||
Camera.speed = 10;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue