summaryrefslogtreecommitdiff
path: root/src/modelinfo
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-08-19 03:31:42 +0300
committerSergeanur <s.anureev@yandex.ua>2020-08-19 03:31:42 +0300
commit4d1cfb7214a4867487f128c7e3360681f47e0239 (patch)
tree8ee67a9a78715308604c5422229977722e447603 /src/modelinfo
parentc559b71bc96c289cdad8c166ec379ee2df93c995 (diff)
Island loading cleanup and fix
Diffstat (limited to 'src/modelinfo')
-rw-r--r--src/modelinfo/ModelInfo.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modelinfo/ModelInfo.cpp b/src/modelinfo/ModelInfo.cpp
index 5d9c7700..4ee8e72b 100644
--- a/src/modelinfo/ModelInfo.cpp
+++ b/src/modelinfo/ModelInfo.cpp
@@ -218,9 +218,7 @@ CModelInfo::IsBikeModel(int32 id)
void
CModelInfo::RemoveColModelsFromOtherLevels(eLevelName level)
{
-#ifdef NO_ISLAND_LOADING
- if (CMenuManager::m_PrefsIslandLoading == CMenuManager::ISLAND_LOADING_LOW)
-#endif
+ ISLAND_LOADING_IS(LOW)
{
int i;
CBaseModelInfo *mi;