summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-08-25 16:10:34 +0200
committerGitHub <noreply@github.com>2019-08-25 16:10:34 +0200
commit7d1e1bf1ddde0f78dba3c236238a307d2537c05f (patch)
tree4c8a2131d5e58f3da2e2586c201855c01ada14b0 /src/vehicles
parentMerge pull request #196 from erorcun/erorcun (diff)
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadre3-7d1e1bf1ddde0f78dba3c236238a307d2537c05f.tar
re3-7d1e1bf1ddde0f78dba3c236238a307d2537c05f.tar.gz
re3-7d1e1bf1ddde0f78dba3c236238a307d2537c05f.tar.bz2
re3-7d1e1bf1ddde0f78dba3c236238a307d2537c05f.tar.lz
re3-7d1e1bf1ddde0f78dba3c236238a307d2537c05f.tar.xz
re3-7d1e1bf1ddde0f78dba3c236238a307d2537c05f.tar.zst
re3-7d1e1bf1ddde0f78dba3c236238a307d2537c05f.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Automobile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index 488dcf69..581b5815 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -311,7 +311,7 @@ CAutomobile::ProcessControl(void)
}
CVisibilityPlugins::SetClumpAlpha((RpClump*)m_rwObject, clumpAlpha);
- AutoPilot.m_flag1 = false;
+ AutoPilot.m_bSlowedDownBecauseOfCars = false;
AutoPilot.m_bSlowedDownBecauseOfPeds = false;
// Set Center of Mass to make car more stable
@@ -3931,7 +3931,7 @@ void
CAutomobile::PlayHornIfNecessary(void)
{
if(AutoPilot.m_bSlowedDownBecauseOfPeds ||
- AutoPilot.m_flag1)
+ AutoPilot.m_bSlowedDownBecauseOfCars)
if(!HasCarStoppedBecauseOfLight())
PlayCarHorn();
}