summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/SimpleModelInfo.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-08 20:53:11 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-08 20:53:11 +0100
commitfaa9e6441bc4b02362620d0cf599a8513744f4cc (patch)
treeb26eccf8fbbda2a4af0b7f0b3cdacdb6c4253cef /src/modelinfo/SimpleModelInfo.cpp
parentAdd multisampling (diff)
downloadre3-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/SimpleModelInfo.cpp')
-rw-r--r--src/modelinfo/SimpleModelInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modelinfo/SimpleModelInfo.cpp b/src/modelinfo/SimpleModelInfo.cpp
index 2e6e557e..757a3721 100644
--- a/src/modelinfo/SimpleModelInfo.cpp
+++ b/src/modelinfo/SimpleModelInfo.cpp
@@ -167,7 +167,7 @@ CSimpleModelInfo::FindRelatedModel(int32 minID, int32 maxID)
for(i = minID; i <= maxID; i++){
mi = CModelInfo::GetModelInfo(i);
if(mi && mi != this &&
- !CGeneral::faststrcmp(GetName()+3, mi->GetName()+3)){
+ !CGeneral::faststrcmp(GetModelName()+3, mi->GetModelName()+3)){
assert(mi->IsSimple());
this->SetRelatedModel((CSimpleModelInfo*)mi);
return;
@@ -189,7 +189,7 @@ CSimpleModelInfo::SetupBigBuilding(int32 minID, int32 maxID)
m_lodDistances[2] = related->GetLargestLodDistance()/TheCamera.LODDistMultiplier;
if(m_drawLast){
m_drawLast = false;
- debug("%s was draw last\n", GetName());
+ debug("%s was draw last\n", GetModelName());
}
}else
m_lodDistances[2] = NEAR_DRAW_DIST;