mirror of
https://github.com/halpz/re3.git
synced 2025-08-04 04:57:45 +00:00
Weapon layer in Peds
This commit is contained in:
@ -3018,7 +3018,7 @@ CAutomobile::DoDriveByShootings(void)
|
||||
{
|
||||
CAnimBlendAssociation *anim;
|
||||
CWeapon *weapon = pDriver->GetWeapon();
|
||||
if(weapon->m_eWeaponType != WEAPONTYPE_UZI)
|
||||
if(CWeaponInfo::GetWeaponInfo(weapon->m_eWeaponType)->m_nWeaponSlot != 5)
|
||||
return;
|
||||
|
||||
weapon->Update(pDriver->m_audioEntityId);
|
||||
|
Reference in New Issue
Block a user