summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-11 22:43:26 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-11 22:43:26 +0100
commit42e4e7c063cf1af9ed910f5e4435c07c61259e58 (patch)
tree0e85b3b0a1700513e0caf50dfe1b3d7560b1feb8 /src
parentfuck (diff)
downloadre3-42e4e7c063cf1af9ed910f5e4435c07c61259e58.tar
re3-42e4e7c063cf1af9ed910f5e4435c07c61259e58.tar.gz
re3-42e4e7c063cf1af9ed910f5e4435c07c61259e58.tar.bz2
re3-42e4e7c063cf1af9ed910f5e4435c07c61259e58.tar.lz
re3-42e4e7c063cf1af9ed910f5e4435c07c61259e58.tar.xz
re3-42e4e7c063cf1af9ed910f5e4435c07c61259e58.tar.zst
re3-42e4e7c063cf1af9ed910f5e4435c07c61259e58.zip
Diffstat (limited to 'src')
-rw-r--r--src/control/Script3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script3.cpp b/src/control/Script3.cpp
index 67d6fdda..aba06d03 100644
--- a/src/control/Script3.cpp
+++ b/src/control/Script3.cpp
@@ -2400,7 +2400,7 @@ int8 CRunningScript::ProcessCommands700To799(int32 command)
CPed* pLeader = CPools::GetPedPool()->GetAt(ScriptParams[1]);
script_assert(pPed);
script_assert(pLeader);
- UpdateCompareFlag(pPed->m_leader == pLeader);
+ UpdateCompareFlag(pPed->m_leader == pLeader && !pPed->bWaitForLeaderToComeCloser);
return 0;
}
default: