From 22f200e13314bd872e86861a4ac0380549c6f61b Mon Sep 17 00:00:00 2001 From: WPMGPRoSToTeMa Date: Sat, 9 Jan 2016 21:27:18 +0300 Subject: [PATCH] Small fix in Netchan_Process --- rehlds/engine/net_chan.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rehlds/engine/net_chan.cpp b/rehlds/engine/net_chan.cpp index 935df2c..655231c 100644 --- a/rehlds/engine/net_chan.cpp +++ b/rehlds/engine/net_chan.cpp @@ -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 }