summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/ModelIndices.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-17 20:20:14 +0200
committerGitHub <noreply@github.com>2020-05-17 20:20:14 +0200
commit8a7210cad162930e800f9632afd99ec15a75ebcf (patch)
treeb4f2b7bcc798fbc86867839b00cb9b79fd6eecf1 /src/modelinfo/ModelIndices.h
parentloading screens (diff)
parentWeapon fixes and thingies (diff)
downloadre3-8a7210cad162930e800f9632afd99ec15a75ebcf.tar
re3-8a7210cad162930e800f9632afd99ec15a75ebcf.tar.gz
re3-8a7210cad162930e800f9632afd99ec15a75ebcf.tar.bz2
re3-8a7210cad162930e800f9632afd99ec15a75ebcf.tar.lz
re3-8a7210cad162930e800f9632afd99ec15a75ebcf.tar.xz
re3-8a7210cad162930e800f9632afd99ec15a75ebcf.tar.zst
re3-8a7210cad162930e800f9632afd99ec15a75ebcf.zip
Diffstat (limited to 'src/modelinfo/ModelIndices.h')
-rw-r--r--src/modelinfo/ModelIndices.h25
1 files changed, 2 insertions, 23 deletions
diff --git a/src/modelinfo/ModelIndices.h b/src/modelinfo/ModelIndices.h
index 25eb4cf0..9846796d 100644
--- a/src/modelinfo/ModelIndices.h
+++ b/src/modelinfo/ModelIndices.h
@@ -412,7 +412,9 @@ enum
MI_AK47 = 276,
MI_SHOTGUN = 279,
MI_M16 = 280,
+ MI_TEC9 = 281,
MI_UZI = 282,
+ MI_SILENCEDINGRAM = 283,
MI_MP5 = 284,
MI_SNIPER = 285,
MI_ROCKETLAUNCHER = 287,
@@ -528,29 +530,6 @@ IsBannerModel(int16 id)
id == MI_ITALYBANNER1 ||
id == MI_CHINALANTERN;
}
-inline bool
-IsPickupModel(int16 id)
-{
- return id == MI_GRENADE ||
- id == MI_AK47 ||
- id == MI_BASEBALL_BAT ||
- id == MI_COLT ||
- id == MI_MOLOTOV ||
- id == MI_ROCKETLAUNCHER ||
- id == MI_SHOTGUN ||
- id == MI_SNIPER ||
- id == MI_UZI ||
- id == MI_M16 ||
- id == MI_FLAMETHROWER ||
- id == MI_PICKUP_ADRENALINE ||
- id == MI_PICKUP_BODYARMOUR ||
- id == MI_PICKUP_INFO ||
- id == MI_PICKUP_HEALTH ||
- id == MI_PICKUP_BONUS ||
- id == MI_PICKUP_BRIBE ||
- id == MI_PICKUP_KILLFRENZY ||
- id == MI_PICKUP_CAMERA;
-}
inline bool
IsPolicePedModel(int16 id)