summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/ModelInfo.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-08 20:50:59 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-08 20:50:59 +0100
commit8eed6ae1794989eb15fe95d867c44c196080c4dd (patch)
tree2e995dcc6e9c1eb830fe634fe695b0778c4d7957 /src/modelinfo/ModelInfo.cpp
parentMerge pull request #909 from Fire-Head/master (diff)
downloadre3-8eed6ae1794989eb15fe95d867c44c196080c4dd.tar
re3-8eed6ae1794989eb15fe95d867c44c196080c4dd.tar.gz
re3-8eed6ae1794989eb15fe95d867c44c196080c4dd.tar.bz2
re3-8eed6ae1794989eb15fe95d867c44c196080c4dd.tar.lz
re3-8eed6ae1794989eb15fe95d867c44c196080c4dd.tar.xz
re3-8eed6ae1794989eb15fe95d867c44c196080c4dd.tar.zst
re3-8eed6ae1794989eb15fe95d867c44c196080c4dd.zip
Diffstat (limited to 'src/modelinfo/ModelInfo.cpp')
-rw-r--r--src/modelinfo/ModelInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modelinfo/ModelInfo.cpp b/src/modelinfo/ModelInfo.cpp
index dcde0df3..7aa5fc8b 100644
--- a/src/modelinfo/ModelInfo.cpp
+++ b/src/modelinfo/ModelInfo.cpp
@@ -192,7 +192,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;