mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 11:29:02 +00:00
fix
This commit is contained in:
parent
d94e8e8faf
commit
a6409fb445
1 changed files with 1 additions and 1 deletions
|
@ -2152,7 +2152,7 @@ CPed::ReactToAttack(CEntity *attacker)
|
||||||
|
|
||||||
CCarCtrl::SwitchVehicleToRealPhysics(m_pMyVehicle);
|
CCarCtrl::SwitchVehicleToRealPhysics(m_pMyVehicle);
|
||||||
m_pMyVehicle->AutoPilot.m_nDrivingStyle = DRIVINGSTYLE_AVOID_CARS;
|
m_pMyVehicle->AutoPilot.m_nDrivingStyle = DRIVINGSTYLE_AVOID_CARS;
|
||||||
m_pMyVehicle->AutoPilot.m_nCruiseSpeed = GAME_SPEED_TO_CARAI_SPEED * m_pMyVehicle->pHandling->Transmission.fUnkMaxVelocity;
|
m_pMyVehicle->AutoPilot.m_nCruiseSpeed = GAME_SPEED_TO_CARAI_SPEED * m_pMyVehicle->pHandling->Transmission.fMaxCruiseVelocity;
|
||||||
m_pMyVehicle->SetStatus(STATUS_PHYSICS);
|
m_pMyVehicle->SetStatus(STATUS_PHYSICS);
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Reference in a new issue