summaryrefslogtreecommitdiffstats
path: root/src/modelinfo
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-31 17:45:26 +0200
committeraap <aap@papnet.eu>2020-05-31 17:45:26 +0200
commitbae3a3e72f6b22b72155d377d38725cdbdff688c (patch)
tree09d9b2e732771ec71c9fe920a759930d50490eea /src/modelinfo
parentfix (diff)
downloadre3-bae3a3e72f6b22b72155d377d38725cdbdff688c.tar
re3-bae3a3e72f6b22b72155d377d38725cdbdff688c.tar.gz
re3-bae3a3e72f6b22b72155d377d38725cdbdff688c.tar.bz2
re3-bae3a3e72f6b22b72155d377d38725cdbdff688c.tar.lz
re3-bae3a3e72f6b22b72155d377d38725cdbdff688c.tar.xz
re3-bae3a3e72f6b22b72155d377d38725cdbdff688c.tar.zst
re3-bae3a3e72f6b22b72155d377d38725cdbdff688c.zip
Diffstat (limited to 'src/modelinfo')
-rw-r--r--src/modelinfo/SimpleModelInfo.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modelinfo/SimpleModelInfo.cpp b/src/modelinfo/SimpleModelInfo.cpp
index a781cf58..091d4dff 100644
--- a/src/modelinfo/SimpleModelInfo.cpp
+++ b/src/modelinfo/SimpleModelInfo.cpp
@@ -157,6 +157,13 @@ CSimpleModelInfo::SetupBigBuilding(void)
if(related)
m_lodDistances[2] = related->GetLargestLodDistance()/TheCamera.LODDistMultiplier;
else
+#ifdef FIX_BUGS
+ if(strnicmp(GetName(), "lod", 3) == 0)
m_lodDistances[2] = 100.0f;
+ else
+ m_lodDistances[2] = 0.0f;
+#else
+ m_lodDistances[2] = 100.0f;
+#endif
}
}