diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-07-13 16:43:09 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-07-13 16:43:09 +0200 |
commit | 841fa5155c17b6edf4774deaa311a4e5935be4d6 (patch) | |
tree | 7fae91d0edd59cdb4c340d9cf590e0cd07a75310 /src/entities/Entity.cpp | |
parent | Add cutscene borders switch to the menu (diff) | |
download | re3-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 'src/entities/Entity.cpp')
-rw-r--r-- | src/entities/Entity.cpp | 4 |
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 |