From 64cef333c8b04b66806e150add1287f78f47e365 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sun, 25 Aug 2019 16:47:22 +0300 Subject: more CCarCtrl --- src/vehicles/Automobile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vehicles') 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(); } -- cgit v1.2.3