Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Automobile: more pointless fixes
  • Loading branch information
erorcun committed Jan 5, 2021
1 parent e6ef2f1 commit 2e734a47504c13b1d5e5b7382d7c23e74c6ad4b8
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/vehicles/Automobile.cpp
@@ -224,6 +224,7 @@ CAutomobile::ProcessControl(void)
int i;
float wheelRot;
CColModel *colModel;
float brake = 0.0f;

if(bUsingSpecialColModel)
colModel = &CWorld::Players[CWorld::PlayerInFocus].m_ColModel;
@@ -539,7 +540,6 @@ CAutomobile::ProcessControl(void)
break;
}

float brake;
if(skipPhysics){
bHasContacted = false;
bIsInSafePosition = false;
@@ -725,7 +725,7 @@ CAutomobile::ProcessControl(void)
traction *= 4.0f;

if(FindPlayerVehicle() && FindPlayerVehicle() == this){
if(CPad::GetPad(0)->WeaponJustDown()){
if(CPad::GetPad(0)->CarGunJustDown()){
if(m_bombType == CARBOMB_TIMED){
m_bombType = CARBOMB_TIMEDACTIVE;
m_nBombTimer = 7000;

0 comments on commit 2e734a4

Please sign in to comment.