summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-03 09:24:26 +0200
committeraap <aap@papnet.eu>2020-06-03 09:24:26 +0200
commitc498af29aa4d395e056c370601768f9bd79a3c5a (patch)
tree52f597af3d9648b0768ac5bd979a2f008d42df65 /src/vehicles
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-c498af29aa4d395e056c370601768f9bd79a3c5a.tar
re3-c498af29aa4d395e056c370601768f9bd79a3c5a.tar.gz
re3-c498af29aa4d395e056c370601768f9bd79a3c5a.tar.bz2
re3-c498af29aa4d395e056c370601768f9bd79a3c5a.tar.lz
re3-c498af29aa4d395e056c370601768f9bd79a3c5a.tar.xz
re3-c498af29aa4d395e056c370601768f9bd79a3c5a.tar.zst
re3-c498af29aa4d395e056c370601768f9bd79a3c5a.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/Automobile.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index dea03730..4ebf2737 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -3119,17 +3119,6 @@ CAutomobile::ProcessControlInputs(uint8 pad)
m_fSteerAngle = DEGTORAD(pHandling->fSteeringLock) * fValue;
if(bComedyControls){
-#if 0 // old comedy controls from PS2 - same as bike's
- if(((CTimer::GetTimeInMilliseconds() >> 10) & 0xF) < 12)
- m_fGasPedal = 1.0f;
- if((((CTimer::GetTimeInMilliseconds() >> 10)+6) & 0xF) < 12)
- m_fBrakePedal = 0.0f;
- bIsHandbrakeOn = false;
- if(CTimer::GetTimeInMilliseconds() & 0x800)
- m_fSteerAngle += 0.08f;
- else
- m_fSteerAngle -= 0.03f;
-#else
int rnd = CGeneral::GetRandomNumber() % 10;
switch(m_comedyControlState){
case 0:
@@ -3149,10 +3138,8 @@ CAutomobile::ProcessControlInputs(uint8 pad)
m_comedyControlState = 0;
break;
}
- }else{
+ }else
m_comedyControlState = 0;
-#endif
- }
// Brake if player isn't in control
// BUG: game always uses pad 0 here