diff options
author | saml1er <danishroar@gmail.com> | 2020-04-16 21:01:53 +0200 |
---|---|---|
committer | saml1er <danishroar@gmail.com> | 2020-04-16 21:01:53 +0200 |
commit | e52a02fb9e1dd5602e80d88691f2ee2291d1fa52 (patch) | |
tree | 333caa1599e2f0c6b91bdae2092cf085eaf8238a /src/modelinfo/ModelIndices.h | |
parent | Reverse CWorld (diff) | |
parent | More refs removed (diff) | |
download | re3-e52a02fb9e1dd5602e80d88691f2ee2291d1fa52.tar re3-e52a02fb9e1dd5602e80d88691f2ee2291d1fa52.tar.gz re3-e52a02fb9e1dd5602e80d88691f2ee2291d1fa52.tar.bz2 re3-e52a02fb9e1dd5602e80d88691f2ee2291d1fa52.tar.lz re3-e52a02fb9e1dd5602e80d88691f2ee2291d1fa52.tar.xz re3-e52a02fb9e1dd5602e80d88691f2ee2291d1fa52.tar.zst re3-e52a02fb9e1dd5602e80d88691f2ee2291d1fa52.zip |
Diffstat (limited to '')
-rw-r--r-- | src/modelinfo/ModelIndices.h | 7 |
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 |