Network/ENet: Fix compilation and warnings

This commit is contained in:
Lynix
2017-01-27 17:19:49 +01:00
parent 0e03aae6dc
commit 664e3a33ec
2 changed files with 7 additions and 10 deletions

View File

@@ -30,11 +30,11 @@ namespace Nz
}
ENetPeer::ENetPeer(ENetHost* host, UInt16 peerId) :
m_packetPool(sizeof(ENetPacket)),
m_host(host),
m_incomingPeerID(peerId),
m_packetPool(sizeof(ENetPacket)),
m_incomingSessionID(0xFF),
m_outgoingSessionID(0xFF)
m_outgoingSessionID(0xFF),
m_incomingPeerID(peerId)
{
Reset();
}