diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-09-12 02:43:18 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-09-12 02:46:15 +0200 |
commit | 14c7c1d7ca722935195a20817c96b1af75046359 (patch) | |
tree | 0ed77a2bf6d999ff94b8c70aca1795db4b9173c7 /src/core/re3.cpp | |
parent | Merge pull request #202 from erorcun/erorcun (diff) | |
download | re3-14c7c1d7ca722935195a20817c96b1af75046359.tar re3-14c7c1d7ca722935195a20817c96b1af75046359.tar.gz re3-14c7c1d7ca722935195a20817c96b1af75046359.tar.bz2 re3-14c7c1d7ca722935195a20817c96b1af75046359.tar.lz re3-14c7c1d7ca722935195a20817c96b1af75046359.tar.xz re3-14c7c1d7ca722935195a20817c96b1af75046359.tar.zst re3-14c7c1d7ca722935195a20817c96b1af75046359.zip |
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r-- | src/core/re3.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp index 9737fddb..19b3c691 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -141,10 +141,9 @@ SpawnCar(int id) static void LetThemFollowYou(void) { - CPed* player = (CPed*) FindPlayerPed(); + CPed *player = (CPed*) FindPlayerPed(); for (int i = 0; i < player->m_numNearPeds; i++) { - - CPed* nearPed = player->m_nearPeds[i]; + CPed *nearPed = player->m_nearPeds[i]; if (nearPed && !nearPed->IsPlayer()) { nearPed->SetObjective(OBJECTIVE_FOLLOW_PED_IN_FORMATION, (void*)player); nearPed->m_pedFormation = rand() & 7; |