Network/ENetPeer: Fix crash
This commit is contained in:
parent
745a9d12b0
commit
14022ccee2
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue