natla: fix Natla's gun moving while she is in semi death state

Resolves #878.
This commit is contained in:
walkawayy 2023-07-18 21:26:36 -04:00 committed by Marcin Kurczewski
parent 1afec6ebcb
commit 2dc71a018f
No known key found for this signature in database
GPG key ID: CC65E6FD28CAE42A
3 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,5 @@
## [Unreleased](https://github.com/rr-/Tomb1Main/compare/stable...develop) - ××××-××-××
- fixed Natla's gun moving while she is in her semi death state (#878)
## [2.15.3](https://github.com/rr-/Tomb1Main/compare/2.15.2...2.15.3) - 2023-08-15
- fixed Lara stuttering when performing certain animations (#901, regression from 2.14)

View file

@ -287,6 +287,7 @@ Not all options are turned on by default. Refer to `Tomb1Main_ConfigTool.exe` fo
- fixed triggered flip effects not working if there are no sound devices
- fixed ceiling heights at times being miscalculated, resulting in camera issues and Lara being able to jump into the ceiling
- fixed the ape not performing the vault animation when climbing
- fixed Natla's gun moving while she is in her semi death state
#### Cheats
- added a fly cheat

View file

@ -93,7 +93,7 @@ void Natla_Control(int16_t item_num)
AI_INFO info;
Creature_AIInfo(item, &info);
if (info.ahead) {
if (info.ahead && item->current_anim_state != NATLA_SEMIDEATH) {
head = info.angle;
}