diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-08 20:53:11 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-08 20:53:11 +0100 |
commit | faa9e6441bc4b02362620d0cf599a8513744f4cc (patch) | |
tree | b26eccf8fbbda2a4af0b7f0b3cdacdb6c4253cef /src/modelinfo/ModelInfo.cpp | |
parent | Add multisampling (diff) | |
download | re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.gz re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.bz2 re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.lz re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.xz re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.zst re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.zip |
Diffstat (limited to 'src/modelinfo/ModelInfo.cpp')
-rw-r--r-- | src/modelinfo/ModelInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modelinfo/ModelInfo.cpp b/src/modelinfo/ModelInfo.cpp index 9e5b0470..0a542cf6 100644 --- a/src/modelinfo/ModelInfo.cpp +++ b/src/modelinfo/ModelInfo.cpp @@ -189,7 +189,7 @@ CModelInfo::GetModelInfo(const char *name, int *id) CBaseModelInfo *modelinfo; for(int i = 0; i < MODELINFOSIZE; i++){ modelinfo = CModelInfo::ms_modelInfoPtrs[i]; - if(modelinfo && !CGeneral::faststricmp(modelinfo->GetName(), name)){ + if(modelinfo && !CGeneral::faststricmp(modelinfo->GetModelName(), name)){ if(id) *id = i; return modelinfo; @@ -207,7 +207,7 @@ CModelInfo::GetModelInfo(const char *name, int minIndex, int maxIndex) CBaseModelInfo *modelinfo; for(int i = minIndex; i <= maxIndex; i++){ modelinfo = CModelInfo::ms_modelInfoPtrs[i]; - if(modelinfo && !CGeneral::faststricmp(modelinfo->GetName(), name)) + if(modelinfo && !CGeneral::faststricmp(modelinfo->GetModelName(), name)) return modelinfo; } return nil; |