summaryrefslogtreecommitdiffstats
path: root/src/core/Streaming.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-05 17:33:32 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-05 17:33:32 +0200
commit12fbf8ceded75438d1c5ac532f83319405fbb02d (patch)
tree2062de5cd1582676c62ed4f8673eaa5d7ba8a2e4 /src/core/Streaming.cpp
parentMerge pull request #514 from Nick007J/miami (diff)
parentRemove GTA_TRAIN, GTA_BRIDGE, GTA_ZONECULL (diff)
downloadre3-12fbf8ceded75438d1c5ac532f83319405fbb02d.tar
re3-12fbf8ceded75438d1c5ac532f83319405fbb02d.tar.gz
re3-12fbf8ceded75438d1c5ac532f83319405fbb02d.tar.bz2
re3-12fbf8ceded75438d1c5ac532f83319405fbb02d.tar.lz
re3-12fbf8ceded75438d1c5ac532f83319405fbb02d.tar.xz
re3-12fbf8ceded75438d1c5ac532f83319405fbb02d.tar.zst
re3-12fbf8ceded75438d1c5ac532f83319405fbb02d.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 d212dd05..daeda35d 100644
--- a/src/core/Streaming.cpp
+++ b/src/core/Streaming.cpp
@@ -2235,9 +2235,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);
}
}
@@ -2261,9 +2259,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);
}
}
@@ -2687,9 +2683,7 @@ CStreaming::LoadScene(const CVector &pos)
RemoveModel(si - ms_aInfoForModel);
}
CRenderer::m_loadingPriority = false;
-#ifdef GTA_ZONECULL
CCullZones::ForceCullZoneCoors(pos);
-#endif
DeleteAllRwObjects();
#ifndef MIAMI
AddModelsToRequestList(pos);