mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 06:06:06 +00:00
Fix enum use
This commit is contained in:
parent
a1444b992f
commit
bbbe9b2632
1 changed files with 1 additions and 1 deletions
|
@ -3182,7 +3182,7 @@ bool
|
||||||
CPed::IsPedDoingDriveByShooting(void)
|
CPed::IsPedDoingDriveByShooting(void)
|
||||||
{
|
{
|
||||||
#ifdef FIX_BUGS
|
#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
|
#else
|
||||||
if (FindPlayerPed() == this && GetWeapon()->m_eWeaponType == WEAPONTYPE_UZI) {
|
if (FindPlayerPed() == this && GetWeapon()->m_eWeaponType == WEAPONTYPE_UZI) {
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue