mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-08-19 04:51:58 +02:00
fix
This commit is contained in:
@@ -2152,7 +2152,7 @@ CPed::ReactToAttack(CEntity *attacker)
|
||||
|
||||
CCarCtrl::SwitchVehicleToRealPhysics(m_pMyVehicle);
|
||||
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);
|
||||
}
|
||||
} else
|
||||
|
Reference in New Issue
Block a user