diff options
Diffstat (limited to 'src/core/Streaming.cpp')
-rw-r--r-- | src/core/Streaming.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/Streaming.cpp b/src/core/Streaming.cpp index 4d6ac215..c1f0be5d 100644 --- a/src/core/Streaming.cpp +++ b/src/core/Streaming.cpp @@ -234,7 +234,7 @@ CStreaming::Init(void) } } #else - CStreaming::Init(); + CStreaming::Init2(); #endif } @@ -725,7 +725,7 @@ CStreaming::RequestBigBuildings(eLevelName level, const CVector &pos) b = CPools::GetBuildingPool()->GetSlot(i); if(b && b->bIsBIGBuilding && b->m_level == level) if(b->bStreamBIGBuilding){ - if(CRenderer::ShouldModelBeStreamed(b)) + if(CRenderer::ShouldModelBeStreamed(b, pos)) RequestModel(b->GetModelIndex(), 0); }else RequestModel(b->GetModelIndex(), BIGBUILDINGFLAGS); @@ -745,7 +745,7 @@ CStreaming::InstanceBigBuildings(eLevelName level, const CVector &pos) b = CPools::GetBuildingPool()->GetSlot(i); if(b && b->bIsBIGBuilding && b->m_level == level && b->bStreamBIGBuilding && b->m_rwObject == nil) - if(CRenderer::ShouldModelBeStreamed(b)) + if(CRenderer::ShouldModelBeStreamed(b, pos)) b->CreateRwObject(); } } |