diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-08 21:30:35 +0100 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-08 21:30:35 +0100 |
commit | 39a121351de14f193f2f4efcbaef368d80ccfba9 (patch) | |
tree | 7fa767968e8e838b68894ff21c284c5f6c9338dc /src/modelinfo/ModelInfo.cpp | |
parent | .ini for scaling, radar, sprites (diff) | |
parent | Use original names (diff) | |
download | re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.gz re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.bz2 re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.lz re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.xz re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.zst re3-39a121351de14f193f2f4efcbaef368d80ccfba9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/modelinfo/ModelInfo.cpp | 2 |
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; |