summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/ModelInfo.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-05-23 17:45:07 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:32:43 +0200
commit50058371efaf4c5713b7a608db0c7990ec3d78a6 (patch)
tree314722ae778432755c8ea0563a317df52fe130ee /src/modelinfo/ModelInfo.h
parentUndef PS2_AUDIO_CHANNELS for SQUEEZE_PERFORMANCE and VANILLA_DEFINES (diff)
downloadre3-50058371efaf4c5713b7a608db0c7990ec3d78a6.tar
re3-50058371efaf4c5713b7a608db0c7990ec3d78a6.tar.gz
re3-50058371efaf4c5713b7a608db0c7990ec3d78a6.tar.bz2
re3-50058371efaf4c5713b7a608db0c7990ec3d78a6.tar.lz
re3-50058371efaf4c5713b7a608db0c7990ec3d78a6.tar.xz
re3-50058371efaf4c5713b7a608db0c7990ec3d78a6.tar.zst
re3-50058371efaf4c5713b7a608db0c7990ec3d78a6.zip
Diffstat (limited to 'src/modelinfo/ModelInfo.h')
-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 4fe1ebb0..4d24e78f 100644
--- a/src/modelinfo/ModelInfo.h
+++ b/src/modelinfo/ModelInfo.h
@@ -43,6 +43,9 @@ public:
static CBaseModelInfo *GetModelInfo(int id){
return ms_modelInfoPtrs[id];
}
+ static CColModel *GetColModel(int id){
+ return ms_modelInfoPtrs[id]->GetColModel();
+ }
static bool IsBoatModel(int32 id);
static bool IsBikeModel(int32 id);