diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-07-22 20:17:55 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-07-22 20:17:55 +0200 |
commit | cc13e31264730502d2055912d223a36d3733f9cd (patch) | |
tree | 50a7624c33e5c76158fd082a617e0db2854e8782 /src/weapons | |
parent | Merge branch 'miami' into lcs (diff) | |
parent | Possible fix of RemoveAndAdd crash (diff) | |
download | re3-cc13e31264730502d2055912d223a36d3733f9cd.tar re3-cc13e31264730502d2055912d223a36d3733f9cd.tar.gz re3-cc13e31264730502d2055912d223a36d3733f9cd.tar.bz2 re3-cc13e31264730502d2055912d223a36d3733f9cd.tar.lz re3-cc13e31264730502d2055912d223a36d3733f9cd.tar.xz re3-cc13e31264730502d2055912d223a36d3733f9cd.tar.zst re3-cc13e31264730502d2055912d223a36d3733f9cd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/weapons/Weapon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/weapons/Weapon.cpp b/src/weapons/Weapon.cpp index e546eb05..bac82588 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 |