This commit is contained in:
Lwmte 2023-08-26 13:43:16 +02:00
parent ce447f3d0b
commit bcccfc86a3
2 changed files with 4 additions and 3 deletions

View file

@ -8,6 +8,7 @@ Version 1.1.1
* Fix TR1 wolf damage value inflicted on a close bite attack.
* Fix TR1 bear various original AI issues.
* Fix TR2 knife thrower AI.
* Fix TR2 doberman crashing the game when killed by explosive weapons.
* Fix volume change in settings not affecting voice track.
* Overhaul look mode:
- Allow for consistent and wider viewing angles while crawling, crouching, and hanging.

View file

@ -79,12 +79,12 @@ namespace TEN::Entities::Creatures::TR5
void DobermanControl(short itemNumber)
{
auto* item = &g_Level.Items[itemNumber];
auto* creature = GetCreatureInfo(item);
if (!CreatureActive(itemNumber))
return;
auto* item = &g_Level.Items[itemNumber];
auto* creature = GetCreatureInfo(item);
short angle = 0;
short tilt = 0;
short joint = 0;