mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Don't perform binocular animations if binocular meshswap is not present
This commit is contained in:
parent
3f7942eb76
commit
e4fe73ffd5
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ static void HandlePlayerOpticAnimations(ItemInfo& item)
|
|||
if (!player.Control.Look.IsUsingBinoculars && !player.Control.Look.IsUsingLasersight)
|
||||
return;
|
||||
|
||||
int animNumber = LA_BINOCULARS_IDLE;
|
||||
int animNumber = Objects[ID_LARA_BINOCULARS_MESH].loaded ? LA_BINOCULARS_IDLE : LA_STAND_IDLE;
|
||||
|
||||
if (player.Control.Look.IsUsingLasersight)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue