summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/ModelInfo.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-05-23 17:55:55 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:45:21 +0200
commite014bb5359ae464f14a413dd5ee98f0b5a385f67 (patch)
tree0a687f497f318c4a849e7054f05851a73f2f0c0c /src/modelinfo/ModelInfo.h
parentUndef PS2_AUDIO_CHANNELS for SQUEEZE_PERFORMANCE and VANILLA_DEFINES (diff)
downloadre3-e014bb5359ae464f14a413dd5ee98f0b5a385f67.tar
re3-e014bb5359ae464f14a413dd5ee98f0b5a385f67.tar.gz
re3-e014bb5359ae464f14a413dd5ee98f0b5a385f67.tar.bz2
re3-e014bb5359ae464f14a413dd5ee98f0b5a385f67.tar.lz
re3-e014bb5359ae464f14a413dd5ee98f0b5a385f67.tar.xz
re3-e014bb5359ae464f14a413dd5ee98f0b5a385f67.tar.zst
re3-e014bb5359ae464f14a413dd5ee98f0b5a385f67.zip
Diffstat (limited to '')
-rw-r--r--src/modelinfo/ModelInfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modelinfo/ModelInfo.h b/src/modelinfo/ModelInfo.h
index 30f4c015..f92a73ad 100644
--- a/src/modelinfo/ModelInfo.h
+++ b/src/modelinfo/ModelInfo.h
@@ -38,6 +38,9 @@ public:
return ms_modelInfoPtrs[id];
}
static CBaseModelInfo *GetModelInfo(const char *name, int minIndex, int maxIndex);
+ static CColModel *GetColModel(int id){
+ return ms_modelInfoPtrs[id]->GetColModel();
+ }
static bool IsBoatModel(int32 id);
static bool IsBikeModel(int32 id);