diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-17 09:16:30 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-17 09:16:30 +0200 |
commit | 881d61f811608ea99a08b2bb65ce80a40a2c5138 (patch) | |
tree | d60187ac151352c886772576da6e06d3acdb1cad /src/modelinfo | |
parent | Merge pull request #458 from erorcun/erorcun (diff) | |
parent | More CWorld fixes (diff) | |
download | re3-881d61f811608ea99a08b2bb65ce80a40a2c5138.tar re3-881d61f811608ea99a08b2bb65ce80a40a2c5138.tar.gz re3-881d61f811608ea99a08b2bb65ce80a40a2c5138.tar.bz2 re3-881d61f811608ea99a08b2bb65ce80a40a2c5138.tar.lz re3-881d61f811608ea99a08b2bb65ce80a40a2c5138.tar.xz re3-881d61f811608ea99a08b2bb65ce80a40a2c5138.tar.zst re3-881d61f811608ea99a08b2bb65ce80a40a2c5138.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 309fa1bb..cc8399e7 100644 --- a/src/modelinfo/ModelIndices.h +++ b/src/modelinfo/ModelIndices.h @@ -496,4 +496,11 @@ IsExplosiveThingModel(int16 id) { return id == MI_EXPLODINGBARREL || id == MI_PETROLPUMP; +} + +inline bool +IsFence(int16 id) +{ + return id == MI_FENCE || + id == MI_FENCE2; }
\ No newline at end of file |