Skip to content

Commit 6802db8

Browse files
committed
cloning: different check for 'our object'
1 parent 552d082 commit 6802db8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

code/components/gta-net-five/src/CloneManager.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -901,9 +901,10 @@ bool CloneManagerLocal::HandleCloneUpdate(const msgClone& msg)
901901
return true;
902902
}
903903

904+
auto& extData = m_extendedData[msg.GetObjectId()];
904905
auto obj = objIt->second;
905906

906-
if (msg.GetClientId() == m_netLibrary->GetServerNetID())
907+
if (extData.clientId == m_netLibrary->GetServerNetID())
907908
{
908909
Log("%s: our object, bailing out\n", __func__);
909910

0 commit comments

Comments
 (0)