Nazara/Network: ENetHost::GetTotalReceivedPackets now returns the number of commands received

This commit is contained in:
Lynix
2019-12-29 11:55:07 +01:00
parent 24cb8f6845
commit 0bcd8769fe
2 changed files with 2 additions and 1 deletions

View File

@@ -658,6 +658,7 @@ namespace Nz
return commandError();
}
m_totalReceivedPackets++;
if (peer)
peer->m_totalPacketReceived++;
@@ -754,7 +755,6 @@ namespace Nz
m_receivedDataLength = receivedLength;
m_totalReceivedData += receivedLength;
m_totalReceivedPackets++;
// Intercept