mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 20:58:07 +03:00
tr2/lara: revert camera after extra anim unless heavy
The Lara_State_Extra_Breath function serves as a bridging animation between an extra animation and Lara returning to normal. This change will respect any heavy camera triggers set during the extra animation rather than blindly resetting to chase type. Resolves #1580.
This commit is contained in:
parent
d531d0b11b
commit
79fcac2e66
3 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
## [Unreleased](https://github.com/LostArtefacts/TRX/compare/tr2-0.5...develop) - ××××-××-××
|
||||
- fixed `/give` not working with weapons (regression from 0.5)
|
||||
- fixed the camera being cut off after using the gong hammer in Ice Palace (#1580)
|
||||
- improved switch object names
|
||||
- Switch Type 1 renamed to "Airlock Switch"
|
||||
- Switch Type 2 renamed to "Small Switch"
|
||||
|
|
|
@ -32,6 +32,7 @@ decompilation process. We recognize that there is much work to be done.
|
|||
#### Visuals
|
||||
|
||||
- fixed TGA screenshots crashing the game
|
||||
- fixed the camera being cut off after using the gong hammer in Ice Palace
|
||||
|
||||
#### Audio
|
||||
|
||||
|
|
|
@ -700,7 +700,9 @@ void __cdecl Lara_State_Extra_Breath(ITEM *item, COLL_INFO *coll)
|
|||
item->current_anim_state = LS_STOP;
|
||||
g_Lara.extra_anim = 0;
|
||||
g_Lara.gun_status = LGS_ARMLESS;
|
||||
g_Camera.type = CAM_CHASE;
|
||||
if (g_Camera.type != CAM_HEAVY) {
|
||||
g_Camera.type = CAM_CHASE;
|
||||
}
|
||||
Output_AlterFOV(GAME_FOV * PHD_DEGREE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue