This commit is contained in:
aap 2020-06-06 14:43:35 +02:00
parent ef4f8ec713
commit d6640832f1

View File

@ -1974,7 +1974,7 @@ CBike::KnockOffRider(eWeaponType weapon, uint8 direction, CPed *ped, bool bGetBa
ped->CharCreatedBy != MISSION_CHAR && ped->m_pMyVehicle->VehicleCreatedBy != MISSION_VEHICLE && ped->CharCreatedBy != MISSION_CHAR && ped->m_pMyVehicle->VehicleCreatedBy != MISSION_VEHICLE &&
!CTheScripts::IsPlayerOnAMission()){ !CTheScripts::IsPlayerOnAMission()){
ped->SetObjective(OBJ_47, ped->m_pMyVehicle); ped->SetObjective(OBJ_47, ped->m_pMyVehicle);
ped->m_nPathDir += CGeneral::GetRandomNumberInRange(0, 8); ped->m_nPathDir = CGeneral::GetRandomNumberInRange(0, 8);
} }
}else if(ped->m_leader == nil){ }else if(ped->m_leader == nil){
if(pDriver == ped) if(pDriver == ped)