diff options
author | aap <aap@papnet.eu> | 2020-05-11 17:03:32 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-11 17:03:44 +0200 |
commit | d4250fc2c7e382b095a4ae09daae4ee3beb65527 (patch) | |
tree | c2cf6c78147b1fc49c0a7ff2860eee616e8852d1 /src/core/Streaming.cpp | |
parent | little fix for cam (diff) | |
download | re3-d4250fc2c7e382b095a4ae09daae4ee3beb65527.tar re3-d4250fc2c7e382b095a4ae09daae4ee3beb65527.tar.gz re3-d4250fc2c7e382b095a4ae09daae4ee3beb65527.tar.bz2 re3-d4250fc2c7e382b095a4ae09daae4ee3beb65527.tar.lz re3-d4250fc2c7e382b095a4ae09daae4ee3beb65527.tar.xz re3-d4250fc2c7e382b095a4ae09daae4ee3beb65527.tar.zst re3-d4250fc2c7e382b095a4ae09daae4ee3beb65527.zip |
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(); } } |