summaryrefslogtreecommitdiffstats
path: root/src/modelinfo
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-17 09:16:30 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-17 09:16:30 +0200
commit881d61f811608ea99a08b2bb65ce80a40a2c5138 (patch)
treed60187ac151352c886772576da6e06d3acdb1cad /src/modelinfo
parentMerge pull request #458 from erorcun/erorcun (diff)
parentMore CWorld fixes (diff)
downloadre3-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.h7
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