mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 09:19:00 +00:00
get rid of III code
This commit is contained in:
parent
ad03d9543b
commit
c498af29aa
1 changed files with 1 additions and 14 deletions
|
@ -3119,17 +3119,6 @@ CAutomobile::ProcessControlInputs(uint8 pad)
|
||||||
m_fSteerAngle = DEGTORAD(pHandling->fSteeringLock) * fValue;
|
m_fSteerAngle = DEGTORAD(pHandling->fSteeringLock) * fValue;
|
||||||
|
|
||||||
if(bComedyControls){
|
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;
|
int rnd = CGeneral::GetRandomNumber() % 10;
|
||||||
switch(m_comedyControlState){
|
switch(m_comedyControlState){
|
||||||
case 0:
|
case 0:
|
||||||
|
@ -3149,10 +3138,8 @@ CAutomobile::ProcessControlInputs(uint8 pad)
|
||||||
m_comedyControlState = 0;
|
m_comedyControlState = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}else{
|
}else
|
||||||
m_comedyControlState = 0;
|
m_comedyControlState = 0;
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
// Brake if player isn't in control
|
// Brake if player isn't in control
|
||||||
// BUG: game always uses pad 0 here
|
// BUG: game always uses pad 0 here
|
||||||
|
|
Loading…
Reference in a new issue