diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-10-06 23:39:25 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-10-06 23:39:25 +0200 |
commit | d5d1c7ec5fc98f8355d812587938314406a6df80 (patch) | |
tree | e1652a9c39e77bd1bc8b81973fccbe91eb3d8eae /src/core/re3.cpp | |
parent | Radio shadow fix, RAMPAGE!! message fix (diff) | |
download | re3-d5d1c7ec5fc98f8355d812587938314406a6df80.tar re3-d5d1c7ec5fc98f8355d812587938314406a6df80.tar.gz re3-d5d1c7ec5fc98f8355d812587938314406a6df80.tar.bz2 re3-d5d1c7ec5fc98f8355d812587938314406a6df80.tar.lz re3-d5d1c7ec5fc98f8355d812587938314406a6df80.tar.xz re3-d5d1c7ec5fc98f8355d812587938314406a6df80.tar.zst re3-d5d1c7ec5fc98f8355d812587938314406a6df80.zip |
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r-- | src/core/re3.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp index 19b3c691..8e20ffb3 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -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 = rand() & 7; + nearPed->m_pedFormation = (eFormation)(rand() & 7); nearPed->bScriptObjectiveCompleted = false; } } @@ -349,7 +349,7 @@ DebugMenuPopulate(void) DebugMenuAddVarBool8("Debug", "Don't render Vehicles", (int8*)&gbDontRenderVehicles, nil); DebugMenuAddVarBool8("Debug", "Don't render Objects", (int8*)&gbDontRenderObjects, nil); - DebugMenuAddCmd("Debug", "Make peds around you follow you", LetThemFollowYou); + DebugMenuAddCmd("Debug", "Make peds follow you in formation", LetThemFollowYou); #ifndef MASTER DebugMenuAddVarBool8("Debug", "Toggle unused fight feature", (int8*)&CPed::bUnusedFightThingOnPlayer, nil); #endif |