2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-01 01:25:38 +03:00

Merge pull request #122 from WPMGPRoSToTeMa/master

Small fix in Netchan_Process
This commit is contained in:
theAsmodai 2016-01-09 21:43:36 +03:00
commit 9e1a43d1ff

View File

@ -818,7 +818,11 @@ qboolean Netchan_Process(netchan_t *chan)
if (reliable_ack == (unsigned)chan->reliable_sequence)
{
// Make sure we actually could have ack'd this message
#ifdef REHLDS_FIXES
if (sequence_ack >= chan->last_reliable_sequence)
#else // REHLDS_FIXES
if (chan->incoming_acknowledged + 1 >= chan->last_reliable_sequence)
#endif // REHLDS_FIXES
{
chan->reliable_length = 0; // it has been received
}