Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Automobile: more pointless fixes
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
src/vehicles/Automobile.cpp
There are no files selected for viewing
|
|
@@ -224,6 +224,7 @@ CAutomobile::ProcessControl(void) |
|
int i;
|
|
int i;
|
|
float wheelRot;
|
|
float wheelRot;
|
|
CColModel *colModel;
|
|
CColModel *colModel;
|
|
|
|
float brake = 0.0f;
|
|
|
|
|
|
if(bUsingSpecialColModel)
|
|
if(bUsingSpecialColModel)
|
|
colModel = &CWorld::Players[CWorld::PlayerInFocus].m_ColModel;
|
|
colModel = &CWorld::Players[CWorld::PlayerInFocus].m_ColModel;
|
|
|
@@ -539,7 +540,6 @@ CAutomobile::ProcessControl(void) |
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
float brake;
|
|
|
|
if(skipPhysics){
|
|
if(skipPhysics){
|
|
bHasContacted = false;
|
|
bHasContacted = false;
|
|
bIsInSafePosition = false;
|
|
bIsInSafePosition = false;
|
|
|
@@ -725,7 +725,7 @@ CAutomobile::ProcessControl(void) |
|
traction *= 4.0f;
|
|
traction *= 4.0f;
|
|
|
|
|
|
if(FindPlayerVehicle() && FindPlayerVehicle() == this){
|
|
if(FindPlayerVehicle() && FindPlayerVehicle() == this){
|
|
if(CPad::GetPad(0)->WeaponJustDown()){
|
|
if(CPad::GetPad(0)->CarGunJustDown()){
|
|
if(m_bombType == CARBOMB_TIMED){
|
|
if(m_bombType == CARBOMB_TIMED){
|
|
m_bombType = CARBOMB_TIMEDACTIVE;
|
|
m_bombType = CARBOMB_TIMEDACTIVE;
|
|
m_nBombTimer = 7000;
|
|
m_nBombTimer = 7000;
|
|
|
|