diff options
author | Fire_Head <Fire-Head@users.noreply.github.com> | 2019-06-13 02:47:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-13 02:47:13 +0200 |
commit | 9689def6a59bd8a1d05860c7d23f1837cf3b4a80 (patch) | |
tree | cbd5cdfcb16bb993ca4b75552a48eab641541b77 /src/modelinfo | |
parent | Update Replay.h (diff) | |
parent | silly mistake (diff) | |
download | re3-9689def6a59bd8a1d05860c7d23f1837cf3b4a80.tar re3-9689def6a59bd8a1d05860c7d23f1837cf3b4a80.tar.gz re3-9689def6a59bd8a1d05860c7d23f1837cf3b4a80.tar.bz2 re3-9689def6a59bd8a1d05860c7d23f1837cf3b4a80.tar.lz re3-9689def6a59bd8a1d05860c7d23f1837cf3b4a80.tar.xz re3-9689def6a59bd8a1d05860c7d23f1837cf3b4a80.tar.zst re3-9689def6a59bd8a1d05860c7d23f1837cf3b4a80.zip |
Diffstat (limited to '')
-rw-r--r-- | src/modelinfo/ModelIndices.h | 6 |
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; +} |