summaryrefslogtreecommitdiffstats
path: root/src/weapons/Weapon.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-22 06:06:54 +0200
committerSergeanur <s.anureev@yandex.ua>2021-07-22 06:06:54 +0200
commitbbbe9b2632018ded5f455dfb12c3775907c70fc1 (patch)
tree2cc298b5ec351a5b02f0cc5c4755dc0fbe2e383d /src/weapons/Weapon.cpp
parentFix Predator shooting sound (diff)
downloadre3-bbbe9b2632018ded5f455dfb12c3775907c70fc1.tar
re3-bbbe9b2632018ded5f455dfb12c3775907c70fc1.tar.gz
re3-bbbe9b2632018ded5f455dfb12c3775907c70fc1.tar.bz2
re3-bbbe9b2632018ded5f455dfb12c3775907c70fc1.tar.lz
re3-bbbe9b2632018ded5f455dfb12c3775907c70fc1.tar.xz
re3-bbbe9b2632018ded5f455dfb12c3775907c70fc1.tar.zst
re3-bbbe9b2632018ded5f455dfb12c3775907c70fc1.zip
Diffstat (limited to 'src/weapons/Weapon.cpp')
-rw-r--r--src/weapons/Weapon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weapons/Weapon.cpp b/src/weapons/Weapon.cpp
index 36303c2c..d4cb1cbe 100644
--- a/src/weapons/Weapon.cpp
+++ b/src/weapons/Weapon.cpp
@@ -3182,7 +3182,7 @@ bool
CPed::IsPedDoingDriveByShooting(void)
{
#ifdef FIX_BUGS
- if (FindPlayerPed() == this && CWeaponInfo::GetWeaponInfo(GetWeapon()->m_eWeaponType)->m_nWeaponSlot == 5) {
+ if (FindPlayerPed() == this && CWeaponInfo::GetWeaponInfo(GetWeapon()->m_eWeaponType)->m_nWeaponSlot == WEAPONSLOT_SUBMACHINEGUN) {
#else
if (FindPlayerPed() == this && GetWeapon()->m_eWeaponType == WEAPONTYPE_UZI) {
#endif