diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-15 22:28:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 22:28:09 +0200 |
commit | 5cb7e2e42a17104a80053f1219ebbb022ff1dea1 (patch) | |
tree | c59643f93c566c0813551f0b59596d44573c7c5b /src/modelinfo | |
parent | Merge pull request #429 from Nick007J/master (diff) | |
parent | fixed crash (diff) | |
download | re3-5cb7e2e42a17104a80053f1219ebbb022ff1dea1.tar re3-5cb7e2e42a17104a80053f1219ebbb022ff1dea1.tar.gz re3-5cb7e2e42a17104a80053f1219ebbb022ff1dea1.tar.bz2 re3-5cb7e2e42a17104a80053f1219ebbb022ff1dea1.tar.lz re3-5cb7e2e42a17104a80053f1219ebbb022ff1dea1.tar.xz re3-5cb7e2e42a17104a80053f1219ebbb022ff1dea1.tar.zst re3-5cb7e2e42a17104a80053f1219ebbb022ff1dea1.zip |
Diffstat (limited to 'src/modelinfo')
-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 |