summaryrefslogtreecommitdiffstats
path: root/src/modelinfo
diff options
context:
space:
mode:
authorsaml1er <danishroar@gmail.com>2020-04-17 00:20:34 +0200
committersaml1er <danishroar@gmail.com>2020-04-17 00:20:34 +0200
commit6b1093f1c8f2a2c59383c2d8f2223b22e2f6cb42 (patch)
treeec1ebd3f8c9727aa29445bd8816d7158ddb3c3c2 /src/modelinfo
parentMerge branch 'master' into world (diff)
downloadre3-6b1093f1c8f2a2c59383c2d8f2223b22e2f6cb42.tar
re3-6b1093f1c8f2a2c59383c2d8f2223b22e2f6cb42.tar.gz
re3-6b1093f1c8f2a2c59383c2d8f2223b22e2f6cb42.tar.bz2
re3-6b1093f1c8f2a2c59383c2d8f2223b22e2f6cb42.tar.lz
re3-6b1093f1c8f2a2c59383c2d8f2223b22e2f6cb42.tar.xz
re3-6b1093f1c8f2a2c59383c2d8f2223b22e2f6cb42.tar.zst
re3-6b1093f1c8f2a2c59383c2d8f2223b22e2f6cb42.zip
Diffstat (limited to 'src/modelinfo')
-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