summaryrefslogtreecommitdiffstats
path: root/src/peds/PedAI.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-03 15:33:50 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-03 15:33:50 +0100
commitc4479a0185d348a534d1cf00aa40a2eaa6773e86 (patch)
tree6de2382b66880e701bbe854cd964274c1bdf9ca4 /src/peds/PedAI.cpp
parentFix nFramesForPretendPlaying. (diff)
downloadre3-c4479a0185d348a534d1cf00aa40a2eaa6773e86.tar
re3-c4479a0185d348a534d1cf00aa40a2eaa6773e86.tar.gz
re3-c4479a0185d348a534d1cf00aa40a2eaa6773e86.tar.bz2
re3-c4479a0185d348a534d1cf00aa40a2eaa6773e86.tar.lz
re3-c4479a0185d348a534d1cf00aa40a2eaa6773e86.tar.xz
re3-c4479a0185d348a534d1cf00aa40a2eaa6773e86.tar.zst
re3-c4479a0185d348a534d1cf00aa40a2eaa6773e86.zip
Diffstat (limited to 'src/peds/PedAI.cpp')
-rw-r--r--src/peds/PedAI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/peds/PedAI.cpp b/src/peds/PedAI.cpp
index 9297f87a..16e6c8e2 100644
--- a/src/peds/PedAI.cpp
+++ b/src/peds/PedAI.cpp
@@ -2147,10 +2147,10 @@ CPed::SelectGunIfArmed(void)
if (GetWeapon(i).m_nAmmoTotal > 0) {
eWeaponType weaponType = GetWeapon(i).m_eWeaponType;
- if (weaponType == WEAPONTYPE_COLT45 || weaponType == WEAPONTYPE_PYTHON || weaponType == WEAPONTYPE_SHOTGUN ||
+ if (weaponType == WEAPONTYPE_COLT45 || weaponType == WEAPONTYPE_UZI || weaponType == WEAPONTYPE_MP5 || weaponType == WEAPONTYPE_M4 ||
+ weaponType == WEAPONTYPE_COLT45 || weaponType == WEAPONTYPE_PYTHON || weaponType == WEAPONTYPE_SHOTGUN ||
weaponType == WEAPONTYPE_SPAS12_SHOTGUN || weaponType == WEAPONTYPE_STUBBY_SHOTGUN ||
- weaponType == WEAPONTYPE_UZI || weaponType == WEAPONTYPE_M4 || weaponType == WEAPONTYPE_MP5 ||
- weaponType == WEAPONTYPE_ROCKETLAUNCHER || weaponType == WEAPONTYPE_FLAMETHROWER || weaponType == WEAPONTYPE_SNIPERRIFLE) {
+ weaponType == WEAPONTYPE_ROCKETLAUNCHER || weaponType == WEAPONTYPE_SNIPERRIFLE || weaponType == WEAPONTYPE_FLAMETHROWER) {
SetCurrentWeapon(i);
return true;
}