From d6640832f1fadcf2d1e1186f833115b6ed694c4d Mon Sep 17 00:00:00 2001 From: aap Date: Sat, 6 Jun 2020 14:43:35 +0200 Subject: bla --- src/vehicles/Bike.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vehicles') diff --git a/src/vehicles/Bike.cpp b/src/vehicles/Bike.cpp index 647cd6d6..1229f222 100644 --- a/src/vehicles/Bike.cpp +++ b/src/vehicles/Bike.cpp @@ -1974,7 +1974,7 @@ CBike::KnockOffRider(eWeaponType weapon, uint8 direction, CPed *ped, bool bGetBa ped->CharCreatedBy != MISSION_CHAR && ped->m_pMyVehicle->VehicleCreatedBy != MISSION_VEHICLE && !CTheScripts::IsPlayerOnAMission()){ 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){ if(pDriver == ped) -- cgit v1.2.3