Network/ENetPeer: Fix crash

This commit is contained in:
Lynix 2017-02-24 10:15:13 +01:00
parent 745a9d12b0
commit 14022ccee2
1 changed files with 1 additions and 1 deletions

View File

@ -986,7 +986,7 @@ namespace Nz
if (currentCommand == m_sentReliableCommands.end()) if (currentCommand == m_sentReliableCommands.end())
{ {
currentCommand = m_outgoingReliableCommands.begin(); currentCommand = m_outgoingReliableCommands.begin();
commandList = &m_sentReliableCommands; commandList = &m_outgoingReliableCommands;
for (; currentCommand != m_outgoingReliableCommands.end(); ++currentCommand) for (; currentCommand != m_outgoingReliableCommands.end(); ++currentCommand)
{ {
found = true; found = true;