summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Automobile.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-11 01:03:42 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-11 01:03:42 +0200
commit92b6d775d67d01aab0706564b2cae3714bcf05b0 (patch)
tree714f32c096807d919f95ff4c2d31990f3e34b08c /src/vehicles/Automobile.cpp
parentMerge branch 'master' into garages_dev (diff)
downloadre3-92b6d775d67d01aab0706564b2cae3714bcf05b0.tar
re3-92b6d775d67d01aab0706564b2cae3714bcf05b0.tar.gz
re3-92b6d775d67d01aab0706564b2cae3714bcf05b0.tar.bz2
re3-92b6d775d67d01aab0706564b2cae3714bcf05b0.tar.lz
re3-92b6d775d67d01aab0706564b2cae3714bcf05b0.tar.xz
re3-92b6d775d67d01aab0706564b2cae3714bcf05b0.tar.zst
re3-92b6d775d67d01aab0706564b2cae3714bcf05b0.zip
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-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 1c0d673e..13558920 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;