1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-10-17 22:01:07 +00:00
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: