Network/ENetHost: Comment out warning in case of error
This commit is contained in:
parent
4e9d4c10da
commit
f3febe5d34
|
|
@ -247,7 +247,7 @@ namespace Nz
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
case -1:
|
case -1:
|
||||||
NazaraError("Error receiving incoming packets");
|
//NazaraError("Error receiving incoming packets");
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
@ -855,9 +855,9 @@ namespace Nz
|
||||||
if (channel)
|
if (channel)
|
||||||
{
|
{
|
||||||
if (!windowWrap && outgoingCommand->sendAttempts < 1 && !(outgoingCommand->reliableSequenceNumber % ENetPeer_ReliableWindowSize) &&
|
if (!windowWrap && outgoingCommand->sendAttempts < 1 && !(outgoingCommand->reliableSequenceNumber % ENetPeer_ReliableWindowSize) &&
|
||||||
((channel->reliableWindows[(reliableWindow + ENetPeer_ReliableWindows - 1) % ENetPeer_ReliableWindows] >= ENetPeer_ReliableWindowSize) ||
|
((channel->reliableWindows[(reliableWindow + ENetPeer_ReliableWindows - 1) % ENetPeer_ReliableWindows] >= ENetPeer_ReliableWindowSize) ||
|
||||||
channel->usedReliableWindows & ((((1 << ENetPeer_ReliableWindows) - 1) << reliableWindow) |
|
channel->usedReliableWindows & ((((1 << ENetPeer_ReliableWindows) - 1) << reliableWindow) |
|
||||||
(((1 << ENetPeer_FreeReliableWindows) - 1) >> (ENetPeer_ReliableWindows - reliableWindow)))))
|
(((1 << ENetPeer_FreeReliableWindows) - 1) >> (ENetPeer_ReliableWindows - reliableWindow)))))
|
||||||
windowWrap = true;
|
windowWrap = true;
|
||||||
|
|
||||||
if (windowWrap)
|
if (windowWrap)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue