Network/ENetPacket: Add OnAcknowledged signal
This commit is contained in:
@@ -1029,7 +1029,10 @@ namespace Nz
|
||||
ENetProtocolCommand commandNumber = static_cast<ENetProtocolCommand>(currentCommand->command.header.command & ENetProtocolCommand_Mask);
|
||||
|
||||
if (currentCommand->packet && wasSent)
|
||||
{
|
||||
m_reliableDataInTransit -= currentCommand->fragmentLength;
|
||||
currentCommand->packet->OnAcknowledged();
|
||||
}
|
||||
|
||||
commandList->erase(currentCommand);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user