diff options
author | aap <aap@papnet.eu> | 2020-05-06 09:24:18 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-06 09:24:18 +0200 |
commit | 8e84728f41aef0c01f0a7eaf2e074ee876712861 (patch) | |
tree | 85484924e37a3afb3c4524cb89f72672a9b86d88 /src/core/Streaming.cpp | |
parent | updated librw (diff) | |
parent | Remove audio from premake (diff) | |
download | re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar.gz re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar.bz2 re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar.lz re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar.xz re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.tar.zst re3-8e84728f41aef0c01f0a7eaf2e074ee876712861.zip |
Diffstat (limited to 'src/core/Streaming.cpp')
-rw-r--r-- | src/core/Streaming.cpp | 6 |
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); |