summaryrefslogtreecommitdiffstats
path: root/src/core/Streaming.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-10 10:03:38 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-10 10:03:38 +0200
commit917fa80c18e83172040870d1a1cf613b51cf628c (patch)
tree8ccea8ca56da8062790571cced8d3609b367b6cb /src/core/Streaming.cpp
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadre3-917fa80c18e83172040870d1a1cf613b51cf628c.tar
re3-917fa80c18e83172040870d1a1cf613b51cf628c.tar.gz
re3-917fa80c18e83172040870d1a1cf613b51cf628c.tar.bz2
re3-917fa80c18e83172040870d1a1cf613b51cf628c.tar.lz
re3-917fa80c18e83172040870d1a1cf613b51cf628c.tar.xz
re3-917fa80c18e83172040870d1a1cf613b51cf628c.tar.zst
re3-917fa80c18e83172040870d1a1cf613b51cf628c.zip
Diffstat (limited to '')
-rw-r--r--src/core/Streaming.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Streaming.cpp b/src/core/Streaming.cpp
index 3dcb767a..d00edf51 100644
--- a/src/core/Streaming.cpp
+++ b/src/core/Streaming.cpp
@@ -1247,8 +1247,8 @@ CStreaming::StreamVehiclesAndPeds(void)
static int timeBeforeNextLoad = 0;
static int modelQualityClass = 0;
- if(CRecordDataForGame::RecordingState == RECORDSTATE_1 ||
- CRecordDataForGame::RecordingState == RECORDSTATE_2)
+ if(CRecordDataForGame::IsRecording() ||
+ CRecordDataForGame::IsPlayingBack())
return;
if(FindPlayerPed()->m_pWanted->AreSwatRequired()){