Skip to content

Commit

Permalink
fix EE-236 #185
Browse files Browse the repository at this point in the history
  • Loading branch information
stohrendorf committed Nov 19, 2021
1 parent 05352d4 commit 67e371a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/objects/laraobject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1057,15 +1057,15 @@ void LaraObject::initWeaponAnimData()
case WeaponType::Uzis:
leftArm.weaponAnimData = rightArm.weaponAnimData
= getWorld().findAnimatedModelForType(TR1ItemId::LaraPistolsAnim)->frames;
if(m_handStatus != HandStatus::None)
if(m_handStatus != HandStatus::None && m_handStatus != HandStatus::Grabbing)
{
overrideLaraMeshesDrawWeapons(getWorld().getPlayer().selectedWeaponType);
}
break;
case WeaponType::Shotgun:
leftArm.weaponAnimData = rightArm.weaponAnimData
= getWorld().findAnimatedModelForType(TR1ItemId::LaraShotgunAnim)->frames;
if(m_handStatus != HandStatus::None)
if(m_handStatus != HandStatus::None && m_handStatus != HandStatus::Grabbing)
{
overrideLaraMeshesDrawShotgun();
}
Expand Down

0 comments on commit 67e371a

Please sign in to comment.