summaryrefslogtreecommitdiffstats
path: root/src/entities/Building.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/Building.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 'src/entities/Building.cpp')
-rw-r--r--src/entities/Building.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/Building.cpp b/src/entities/Building.cpp
index 3c096636..00bbb21e 100644
--- a/src/entities/Building.cpp
+++ b/src/entities/Building.cpp
@@ -17,6 +17,6 @@ CBuilding::ReplaceWithNewModel(int32 id)
m_modelIndex = id;
if(bIsBIGBuilding)
- if(m_level == LEVEL_NONE || m_level == CGame::currLevel)
+ if(m_level == LEVEL_GENERIC || m_level == CGame::currLevel)
CStreaming::RequestModel(id, STREAMFLAGS_DONT_REMOVE);
}