mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 23:04:08 +00:00
Vehicle: Automobile: more pointless fixes
This commit is contained in:
parent
32d3ea0a2d
commit
0d3e6a3dce
2 changed files with 4 additions and 3 deletions
|
@ -260,6 +260,7 @@ CAutomobile::ProcessControl(void)
|
|||
int i;
|
||||
float wheelRot;
|
||||
CColModel *colModel;
|
||||
float brake = 0.0f;
|
||||
|
||||
if(bUsingSpecialColModel)
|
||||
colModel = &CWorld::Players[CWorld::PlayerInFocus].m_ColModel;
|
||||
|
@ -450,7 +451,7 @@ CAutomobile::ProcessControl(void)
|
|||
m_fBrakePedal = 1.0f;
|
||||
m_fGasPedal = 0.0f;
|
||||
}
|
||||
if(CPad::GetPad(0)->WeaponJustDown())
|
||||
if(CPad::GetPad(0)->CarGunJustDown())
|
||||
ActivateBomb();
|
||||
break;
|
||||
|
||||
|
@ -682,7 +683,6 @@ CAutomobile::ProcessControl(void)
|
|||
AutoPilot.m_nCarMission == MISSION_PLANE_FLYTOCOORS)
|
||||
skipPhysics = true;
|
||||
|
||||
float brake;
|
||||
if(skipPhysics){
|
||||
bHasContacted = false;
|
||||
bIsInSafePosition = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue