Don't perform binocular animations if binocular meshswap is not present

This commit is contained in:
Lwmte 2024-12-21 00:02:53 +01:00
parent 3f7942eb76
commit e4fe73ffd5

View file

@ -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)
{