mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-16 14:54:08 +00:00
more CCarCtrl
This commit is contained in:
parent
13233ccaed
commit
64cef333c8
4 changed files with 197 additions and 7 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue