diff options
author | erorcun <erayorcunus@gmail.com> | 2020-04-19 15:56:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-19 15:56:39 +0200 |
commit | 0f07a323c9a0a97429c551808a38249a6b8ad1ff (patch) | |
tree | 563add6e54b45ac77ab863815a8750afed24bb1e /src/core/Streaming.cpp | |
parent | Merge pull request #475 from erorcun/erorcun (diff) | |
parent | missing ifded (diff) | |
download | re3-0f07a323c9a0a97429c551808a38249a6b8ad1ff.tar re3-0f07a323c9a0a97429c551808a38249a6b8ad1ff.tar.gz re3-0f07a323c9a0a97429c551808a38249a6b8ad1ff.tar.bz2 re3-0f07a323c9a0a97429c551808a38249a6b8ad1ff.tar.lz re3-0f07a323c9a0a97429c551808a38249a6b8ad1ff.tar.xz re3-0f07a323c9a0a97429c551808a38249a6b8ad1ff.tar.zst re3-0f07a323c9a0a97429c551808a38249a6b8ad1ff.zip |
Diffstat (limited to 'src/core/Streaming.cpp')
-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()){ |