diff options
author | aap <aap@papnet.eu> | 2020-05-23 00:12:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-23 00:12:06 +0200 |
commit | b105403dc75d6306be8a8b49d15cb889b3ad92d2 (patch) | |
tree | f54f09c8a5f002d64ed81a2f6a7e9024d9028612 /src/modelinfo/ModelIndices.h | |
parent | Merge pull request #576 from Nick007J/miami (diff) | |
parent | Merge branch 'miami' of github.com:GTAmodding/re3 into miami (diff) | |
download | re3-b105403dc75d6306be8a8b49d15cb889b3ad92d2.tar re3-b105403dc75d6306be8a8b49d15cb889b3ad92d2.tar.gz re3-b105403dc75d6306be8a8b49d15cb889b3ad92d2.tar.bz2 re3-b105403dc75d6306be8a8b49d15cb889b3ad92d2.tar.lz re3-b105403dc75d6306be8a8b49d15cb889b3ad92d2.tar.xz re3-b105403dc75d6306be8a8b49d15cb889b3ad92d2.tar.zst re3-b105403dc75d6306be8a8b49d15cb889b3ad92d2.zip |
Diffstat (limited to 'src/modelinfo/ModelIndices.h')
-rw-r--r-- | src/modelinfo/ModelIndices.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/modelinfo/ModelIndices.h b/src/modelinfo/ModelIndices.h index b8c6964a..dd37b57d 100644 --- a/src/modelinfo/ModelIndices.h +++ b/src/modelinfo/ModelIndices.h @@ -400,6 +400,18 @@ IsLightThatNeedsRepositioning(int16 id) } inline bool +IsLightObject(int16 id) +{ + return id == MI_TRAFFICLIGHTS_MIAMI || + id == MI_MLAMPPOST || + id == MI_SINGLESTREETLIGHTS1 || + id == MI_SINGLESTREETLIGHTS2 || + id == MI_SINGLESTREETLIGHTS3 || + id == MI_DOUBLESTREETLIGHTS || + id == MI_TRAFFICLIGHTS_TWOVERTICAL; +} + +inline bool IsBodyPart(int16 id) { return id == MI_BODYPARTA || id == MI_BODYPARTB; @@ -455,7 +467,8 @@ inline bool IsExplosiveThingModel(int16 id) { return id == MI_EXPLODINGBARREL || - id == MI_PETROLPUMP; + id == MI_PETROLPUMP || + id == MI_PETROLPUMP2; } inline bool |