summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/SimpleModelInfo.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-31 22:35:29 +0200
committeraap <aap@papnet.eu>2020-05-31 22:35:29 +0200
commit12cc0e4132f9bdb0440a4e9223618ef3e2c00240 (patch)
tree325ea8bc48a819c04618cd21284f6f96ab663220 /src/modelinfo/SimpleModelInfo.cpp
parentfixed to CAutomobile and friends (diff)
downloadre3-12cc0e4132f9bdb0440a4e9223618ef3e2c00240.tar
re3-12cc0e4132f9bdb0440a4e9223618ef3e2c00240.tar.gz
re3-12cc0e4132f9bdb0440a4e9223618ef3e2c00240.tar.bz2
re3-12cc0e4132f9bdb0440a4e9223618ef3e2c00240.tar.lz
re3-12cc0e4132f9bdb0440a4e9223618ef3e2c00240.tar.xz
re3-12cc0e4132f9bdb0440a4e9223618ef3e2c00240.tar.zst
re3-12cc0e4132f9bdb0440a4e9223618ef3e2c00240.zip
Diffstat (limited to 'src/modelinfo/SimpleModelInfo.cpp')
-rw-r--r--src/modelinfo/SimpleModelInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modelinfo/SimpleModelInfo.cpp b/src/modelinfo/SimpleModelInfo.cpp
index 091d4dff..32204500 100644
--- a/src/modelinfo/SimpleModelInfo.cpp
+++ b/src/modelinfo/SimpleModelInfo.cpp
@@ -158,7 +158,7 @@ CSimpleModelInfo::SetupBigBuilding(void)
m_lodDistances[2] = related->GetLargestLodDistance()/TheCamera.LODDistMultiplier;
else
#ifdef FIX_BUGS
- if(strnicmp(GetName(), "lod", 3) == 0)
+ if(toupper(m_name[0]) == 'L' && toupper(m_name[1]) == 'O' && toupper(m_name[2]) == 'D')
m_lodDistances[2] = 100.0f;
else
m_lodDistances[2] = 0.0f;