mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 22:24:09 +00:00
some fixes
This commit is contained in:
parent
c92dfb0064
commit
b2d062ef2d
4 changed files with 9 additions and 9 deletions
|
@ -2177,7 +2177,7 @@ CAutomobile::ProcessEntityCollision(CEntity *ent, CColPoint *colpoints)
|
|||
if(phys->bIsStatic){
|
||||
phys->bIsStatic = false;
|
||||
phys->m_nStaticFrames = 0;
|
||||
phys->ApplyMoveForce(m_vecMoveSpeed / speed);
|
||||
phys->ApplyMoveForce(m_vecMoveSpeed / Sqrt(speed));
|
||||
phys->AddToMovingList();
|
||||
}
|
||||
}
|
||||
|
@ -2318,7 +2318,7 @@ CAutomobile::ProcessControlInputs(uint8 pad)
|
|||
|
||||
// Brake if player isn't in control
|
||||
// BUG: game always uses pad 0 here
|
||||
if(CPad::GetPad(pad)->DisablePlayerControls){
|
||||
if(CPad::GetPad(pad)->ArePlayerControlsDisabled()){
|
||||
m_fBrakePedal = 1.0f;
|
||||
bIsHandbrakeOn = true;
|
||||
m_fGasPedal = 0.0f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue