diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-08 10:59:51 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-08 10:59:51 +0100 |
commit | f8569a74cbbd8366a39d63c8b6699a7fdf24e14a (patch) | |
tree | 94e1cc205be32f03e5a28c761e2af2ef2dab7b8c /src/control/Script4.cpp | |
parent | small cleanup (diff) | |
download | re3-f8569a74cbbd8366a39d63c8b6699a7fdf24e14a.tar re3-f8569a74cbbd8366a39d63c8b6699a7fdf24e14a.tar.gz re3-f8569a74cbbd8366a39d63c8b6699a7fdf24e14a.tar.bz2 re3-f8569a74cbbd8366a39d63c8b6699a7fdf24e14a.tar.lz re3-f8569a74cbbd8366a39d63c8b6699a7fdf24e14a.tar.xz re3-f8569a74cbbd8366a39d63c8b6699a7fdf24e14a.tar.zst re3-f8569a74cbbd8366a39d63c8b6699a7fdf24e14a.zip |
Diffstat (limited to 'src/control/Script4.cpp')
-rw-r--r-- | src/control/Script4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script4.cpp b/src/control/Script4.cpp index 2177afa4..5ffbac2e 100644 --- a/src/control/Script4.cpp +++ b/src/control/Script4.cpp @@ -68,7 +68,7 @@ int8 CRunningScript::ProcessCommands800To899(int32 command) CPed* pLeader = CWorld::Players[ScriptParams[1]].m_pPed; script_assert(pPed); script_assert(pLeader); - UpdateCompareFlag(pPed->m_leader == pLeader); + UpdateCompareFlag(pPed->m_leader == pLeader && !pPed->bWaitForLeaderToComeCloser); return 0; } case COMMAND_EXPLODE_CHAR_HEAD: |