summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/SimpleModelInfo.cpp
diff options
context:
space:
mode:
authorbigbossbro08 <bigbossbro08@gmail.com>2020-05-10 18:05:45 +0200
committerbigbossbro08 <bigbossbro08@gmail.com>2020-05-10 18:05:45 +0200
commitbd302ecca157982a2bfe83d6cfb3167418fd8bb3 (patch)
treeb9d849f3fc61246f0038e5bec53ef8f61b040b83 /src/modelinfo/SimpleModelInfo.cpp
parentfixed few more typos (diff)
parentsome fixes and cosmetic changes (diff)
downloadre3-bd302ecca157982a2bfe83d6cfb3167418fd8bb3.tar
re3-bd302ecca157982a2bfe83d6cfb3167418fd8bb3.tar.gz
re3-bd302ecca157982a2bfe83d6cfb3167418fd8bb3.tar.bz2
re3-bd302ecca157982a2bfe83d6cfb3167418fd8bb3.tar.lz
re3-bd302ecca157982a2bfe83d6cfb3167418fd8bb3.tar.xz
re3-bd302ecca157982a2bfe83d6cfb3167418fd8bb3.tar.zst
re3-bd302ecca157982a2bfe83d6cfb3167418fd8bb3.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 36e98e18..a781cf58 100644
--- a/src/modelinfo/SimpleModelInfo.cpp
+++ b/src/modelinfo/SimpleModelInfo.cpp
@@ -150,7 +150,7 @@ void
CSimpleModelInfo::SetupBigBuilding(void)
{
CSimpleModelInfo *related;
- if(m_lodDistances[0] > LOD_DISTANCE && m_atomics[2] == nil){
+ if(m_lodDistances[0] > LOD_DISTANCE && GetRelatedModel() == nil){
m_isBigBuilding = 1;
FindRelatedModel();
related = GetRelatedModel();