diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-18 22:50:37 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-18 22:50:37 +0200 |
commit | c4cd45d47c01d89bab28f196f03ed9cb1978005b (patch) | |
tree | adfdb08e894945432bcfe0f84883fb3219fd2a72 /src/core/Streaming.cpp | |
parent | Changed extraOffset value. (diff) | |
download | re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar.gz re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar.bz2 re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar.lz re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar.xz re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.tar.zst re3-c4cd45d47c01d89bab28f196f03ed9cb1978005b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Streaming.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/core/Streaming.cpp b/src/core/Streaming.cpp index 039377f4..dae83d89 100644 --- a/src/core/Streaming.cpp +++ b/src/core/Streaming.cpp @@ -28,6 +28,9 @@ #include "CutsceneMgr.h" #include "CdStream.h" #include "Streaming.h" +#ifdef FIX_BUGS +#include "Replay.h" +#endif #include "main.h" bool CStreaming::ms_disableStreaming; @@ -280,7 +283,11 @@ CStreaming::Update(void) !requestedSubway && !CGame::playingIntro && ms_numModelsRequested < 5 && - !CRenderer::m_loadingPriority){ + !CRenderer::m_loadingPriority +#ifdef FIX_BUGS + && !CReplay::IsPlayingBack() +#endif + ){ StreamVehiclesAndPeds(); StreamZoneModels(FindPlayerCoors()); } @@ -1248,7 +1255,11 @@ CStreaming::StreamVehiclesAndPeds(void) static int modelQualityClass = 0; if(CRecordDataForGame::IsRecording() || - CRecordDataForGame::IsPlayingBack()) + CRecordDataForGame::IsPlayingBack() +#ifdef FIX_BUGS + || CReplay::IsPlayingBack() +#endif + ) return; if(FindPlayerPed()->m_pWanted->AreSwatRequired()){ |