This commit is contained in:
Nikolay Korolev 2021-01-12 00:43:26 +03:00
parent c7052b3d6f
commit 42e4e7c063

View File

@ -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: