summaryrefslogtreecommitdiff
path: root/src/modelinfo
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-04-15 08:03:53 +0300
committerFire-Head <Fire-Head@users.noreply.github.com>2020-04-15 08:03:53 +0300
commitdaed13485ef47d9c8992e53e1a976fba237fca50 (patch)
treef8116c26ac5f95a77375d67daffddbeaa19177e0 /src/modelinfo
parent6473778c47efa1e8c1e2d8eea405de98f378cd69 (diff)
CWeapon done, ps2 cheats fix
Diffstat (limited to 'src/modelinfo')
-rw-r--r--src/modelinfo/ModelIndices.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modelinfo/ModelIndices.h b/src/modelinfo/ModelIndices.h
index 20d1b7f3..309fa1bb 100644
--- a/src/modelinfo/ModelIndices.h
+++ b/src/modelinfo/ModelIndices.h
@@ -490,3 +490,10 @@ IsPoliceVehicleModel(int16 id)
id == MI_POLICE ||
id == MI_ENFORCER;
}
+
+inline bool
+IsExplosiveThingModel(int16 id)
+{
+ return id == MI_EXPLODINGBARREL ||
+ id == MI_PETROLPUMP;
+} \ No newline at end of file