mirror of
https://github.com/GTAmodding/re3.git
synced 2025-08-26 00:53:42 +02:00
Fix enum use
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user