diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-09-12 12:12:22 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-09-12 12:12:22 +0200 |
commit | 571e65db4f12424a089918abd03580144991f745 (patch) | |
tree | f35b09e3aa0cfd06535ea6eacab67e893a28fc82 /src/core/re3.cpp | |
parent | DragCarToPoint (diff) | |
parent | Merge pull request #204 from erorcun/erorcun (diff) | |
download | re3-571e65db4f12424a089918abd03580144991f745.tar re3-571e65db4f12424a089918abd03580144991f745.tar.gz re3-571e65db4f12424a089918abd03580144991f745.tar.bz2 re3-571e65db4f12424a089918abd03580144991f745.tar.lz re3-571e65db4f12424a089918abd03580144991f745.tar.xz re3-571e65db4f12424a089918abd03580144991f745.tar.zst re3-571e65db4f12424a089918abd03580144991f745.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; |