Little fix

This commit is contained in:
eray orçunus
2019-10-07 01:13:18 +03:00
parent c792c776f2
commit c9d92a7d1b
3 changed files with 7 additions and 3 deletions

View File

@ -146,7 +146,7 @@ LetThemFollowYou(void) {
CPed *nearPed = player->m_nearPeds[i];
if (nearPed && !nearPed->IsPlayer()) {
nearPed->SetObjective(OBJECTIVE_FOLLOW_PED_IN_FORMATION, (void*)player);
nearPed->m_pedFormation = (eFormation)(rand() & 7);
nearPed->m_pedFormation = (eFormation)(1 + (rand() & 7));
nearPed->bScriptObjectiveCompleted = false;
}
}