diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-06-07 12:45:53 +0300 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-06-07 12:45:53 +0300 |
commit | d1a02e6ddcd9addf60248db57ed241db6c0b98a0 (patch) | |
tree | 7765b6594a93dfce1973a88d84229fdd91643ce2 /src/vehicles/Bike.cpp | |
parent | db9057f5a8685329fc4e776c18d342340237781f (diff) |
New ped objectives
Diffstat (limited to 'src/vehicles/Bike.cpp')
-rw-r--r-- | src/vehicles/Bike.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Bike.cpp b/src/vehicles/Bike.cpp index 1229f222..884ea6cc 100644 --- a/src/vehicles/Bike.cpp +++ b/src/vehicles/Bike.cpp @@ -1973,7 +1973,7 @@ CBike::KnockOffRider(eWeaponType weapon, uint8 direction, CPed *ped, bool bGetBa else if(ped->m_pedStats->m_temper <= ped->m_pedStats->m_fear && ped->CharCreatedBy != MISSION_CHAR && ped->m_pMyVehicle->VehicleCreatedBy != MISSION_VEHICLE && !CTheScripts::IsPlayerOnAMission()){ - ped->SetObjective(OBJ_47, ped->m_pMyVehicle); + ped->SetObjective(OBJECTIVE_WANDER, ped->m_pMyVehicle); ped->m_nPathDir = CGeneral::GetRandomNumberInRange(0, 8); } }else if(ped->m_leader == nil){ |