summaryrefslogtreecommitdiff
path: root/src/modelinfo/ModelIndices.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-12 21:17:02 +0200
committeraap <aap@papnet.eu>2019-06-12 21:17:02 +0200
commit9703ef9b591430b86c272e0f042b1f50b6cb437c (patch)
tree4e27511538090c8872e80c68cc7f70186eeb01f4 /src/modelinfo/ModelIndices.h
parenta9517c01afad50d90c3afdee0fdc6238158378f2 (diff)
implemented CutsceneObject; little fixes
Diffstat (limited to 'src/modelinfo/ModelIndices.h')
-rw-r--r--src/modelinfo/ModelIndices.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modelinfo/ModelIndices.h b/src/modelinfo/ModelIndices.h
index 8b188345..bbf1a58b 100644
--- a/src/modelinfo/ModelIndices.h
+++ b/src/modelinfo/ModelIndices.h
@@ -264,3 +264,9 @@ IsBoatModel(int16 id)
id == MI_SPEEDER ||
id == MI_GHOST;
}
+
+inline bool
+IsPedModel(int16 id)
+{
+ return id >= 0 && id <= 89;
+}