diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-06-07 11:45:53 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-06-07 11:45:53 +0200 |
commit | d1a02e6ddcd9addf60248db57ed241db6c0b98a0 (patch) | |
tree | 7765b6594a93dfce1973a88d84229fdd91643ce2 /src/vehicles | |
parent | fix (diff) | |
download | re3-d1a02e6ddcd9addf60248db57ed241db6c0b98a0.tar re3-d1a02e6ddcd9addf60248db57ed241db6c0b98a0.tar.gz re3-d1a02e6ddcd9addf60248db57ed241db6c0b98a0.tar.bz2 re3-d1a02e6ddcd9addf60248db57ed241db6c0b98a0.tar.lz re3-d1a02e6ddcd9addf60248db57ed241db6c0b98a0.tar.xz re3-d1a02e6ddcd9addf60248db57ed241db6c0b98a0.tar.zst re3-d1a02e6ddcd9addf60248db57ed241db6c0b98a0.zip |
Diffstat (limited to 'src/vehicles')
-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){ |