summaryrefslogtreecommitdiffstats
path: root/src/core/Streaming.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-05 17:32:46 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-05 17:32:46 +0200
commit1eb817de7713ea95bbbcbd7543ffce61ced8ffec (patch)
treeb0032de7a7452f49df7d03254e1e1c9f25b98f0d /src/core/Streaming.cpp
parentRemove ColStore (diff)
downloadre3-1eb817de7713ea95bbbcbd7543ffce61ced8ffec.tar
re3-1eb817de7713ea95bbbcbd7543ffce61ced8ffec.tar.gz
re3-1eb817de7713ea95bbbcbd7543ffce61ced8ffec.tar.bz2
re3-1eb817de7713ea95bbbcbd7543ffce61ced8ffec.tar.lz
re3-1eb817de7713ea95bbbcbd7543ffce61ced8ffec.tar.xz
re3-1eb817de7713ea95bbbcbd7543ffce61ced8ffec.tar.zst
re3-1eb817de7713ea95bbbcbd7543ffce61ced8ffec.zip
Diffstat (limited to 'src/core/Streaming.cpp')
-rw-r--r--src/core/Streaming.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/Streaming.cpp b/src/core/Streaming.cpp
index 978e0bb8..da9e7d33 100644
--- a/src/core/Streaming.cpp
+++ b/src/core/Streaming.cpp
@@ -1982,9 +1982,7 @@ CStreaming::ProcessEntitiesInSectorList(CPtrList &list, float x, float y, float
if(xmin < pos.x && pos.x < xmax &&
ymin < pos.y && pos.y < ymax &&
(CVector2D(x, y) - pos).MagnitudeSqr() < lodDistSq)
-#ifdef GTA_ZONECULL
if(CRenderer::IsEntityCullZoneVisible(e))
-#endif
RequestModel(e->GetModelIndex(), 0);
}
}
@@ -2008,9 +2006,7 @@ CStreaming::ProcessEntitiesInSectorList(CPtrList &list)
(!e->IsObject() || ((CObject*)e)->ObjectCreatedBy != TEMP_OBJECT)){
CTimeModelInfo *mi = (CTimeModelInfo*)CModelInfo::GetModelInfo(e->GetModelIndex());
if (mi->GetModelType() != MITYPE_TIME || CClock::GetIsTimeInRange(mi->GetTimeOn(), mi->GetTimeOff()))
-#ifdef GTA_ZONECULL
if(CRenderer::IsEntityCullZoneVisible(e))
-#endif
RequestModel(e->GetModelIndex(), 0);
}
}
@@ -2434,9 +2430,7 @@ CStreaming::LoadScene(const CVector &pos)
RemoveModel(si - ms_aInfoForModel);
}
CRenderer::m_loadingPriority = false;
-#ifdef GTA_ZONECULL
CCullZones::ForceCullZoneCoors(pos);
-#endif
DeleteAllRwObjects();
AddModelsToRequestList(pos);
CRadar::StreamRadarSections(pos);