summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-12 11:06:12 +0200
committerGitHub <noreply@github.com>2020-04-12 11:06:12 +0200
commitfa0f5542cc0627f06f793dcc3c2615dff242bc5a (patch)
tree6822b7dadbfde60e7e366e857365d47a51a4fc9b /src/vehicles
parentMerge pull request #399 from saml1er/master (diff)
parentUpdate README.md (diff)
downloadre3-fa0f5542cc0627f06f793dcc3c2615dff242bc5a.tar
re3-fa0f5542cc0627f06f793dcc3c2615dff242bc5a.tar.gz
re3-fa0f5542cc0627f06f793dcc3c2615dff242bc5a.tar.bz2
re3-fa0f5542cc0627f06f793dcc3c2615dff242bc5a.tar.lz
re3-fa0f5542cc0627f06f793dcc3c2615dff242bc5a.tar.xz
re3-fa0f5542cc0627f06f793dcc3c2615dff242bc5a.tar.zst
re3-fa0f5542cc0627f06f793dcc3c2615dff242bc5a.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/Automobile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index 76f06b0e..d94428e5 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -356,7 +356,7 @@ CAutomobile::ProcessControl(void)
PruneReferences();
- if(m_status == STATUS_PLAYER && CRecordDataForChase::Status != RECORDSTATE_1)
+ if(m_status == STATUS_PLAYER && CRecordDataForChase::IsRecording())
DoDriveByShootings();
}
break;