summaryrefslogtreecommitdiffstats
path: root/src/entities/Entity.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-07-13 16:43:09 +0200
committerSergeanur <s.anureev@yandex.ua>2020-07-13 16:43:09 +0200
commit841fa5155c17b6edf4774deaa311a4e5935be4d6 (patch)
tree7fae91d0edd59cdb4c340d9cf590e0cd07a75310 /src/entities/Entity.cpp
parentAdd cutscene borders switch to the menu (diff)
downloadre3-841fa5155c17b6edf4774deaa311a4e5935be4d6.tar
re3-841fa5155c17b6edf4774deaa311a4e5935be4d6.tar.gz
re3-841fa5155c17b6edf4774deaa311a4e5935be4d6.tar.bz2
re3-841fa5155c17b6edf4774deaa311a4e5935be4d6.tar.lz
re3-841fa5155c17b6edf4774deaa311a4e5935be4d6.tar.xz
re3-841fa5155c17b6edf4774deaa311a4e5935be4d6.tar.zst
re3-841fa5155c17b6edf4774deaa311a4e5935be4d6.zip
Diffstat (limited to '')
-rw-r--r--src/entities/Entity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp
index 31da489f..0319c7ea 100644
--- a/src/entities/Entity.cpp
+++ b/src/entities/Entity.cpp
@@ -332,14 +332,14 @@ CEntity::SetupBigBuilding(void)
bStreamingDontDelete = true;
bUsesCollision = false;
m_level = CTheZones::GetLevelFromPosition(&GetPosition());
- if(m_level == LEVEL_NONE){
+ if(m_level == LEVEL_GENERIC){
if(mi->GetTxdSlot() != CTxdStore::FindTxdSlot("generic")){
mi->SetTexDictionary("generic");
printf("%d:%s txd has been set to generic\n", m_modelIndex, mi->GetName());
}
}
if(mi->m_lodDistances[0] > 2000.0f)
- m_level = LEVEL_NONE;
+ m_level = LEVEL_GENERIC;
}
CRect