From: Mattia Basaglia <mattia.basaglia@gmail.com>
Date: Mon, 2 Mar 2015 20:45:45 +0000 (+0100)
Subject: 0x3FFFFFFF
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=953ca9f53f5604d307c446bd7e2b6ac7c69bbfa9;p=xonotic%2Fdarkplaces.git

0x3FFFFFFF
---

diff --git a/sv_user.c b/sv_user.c
index 0cce2eb9..71b9fbff 100644
--- a/sv_user.c
+++ b/sv_user.c
@@ -459,7 +459,7 @@ static void SV_ReadClientMove (void)
 
 	// read ping time
 	if (sv.protocol != PROTOCOL_QUAKE && sv.protocol != PROTOCOL_QUAKEDP && sv.protocol != PROTOCOL_NEHAHRAMOVIE && sv.protocol != PROTOCOL_NEHAHRABJP && sv.protocol != PROTOCOL_NEHAHRABJP2 && sv.protocol != PROTOCOL_NEHAHRABJP3 && sv.protocol != PROTOCOL_DARKPLACES1 && sv.protocol != PROTOCOL_DARKPLACES2 && sv.protocol != PROTOCOL_DARKPLACES3 && sv.protocol != PROTOCOL_DARKPLACES4 && sv.protocol != PROTOCOL_DARKPLACES5 && sv.protocol != PROTOCOL_DARKPLACES6)
-		move->sequence = MSG_ReadLong(&sv_message);
+		move->sequence = MSG_ReadLong(&sv_message) & 0x3FFFFFFF;
 	move->time = move->clienttime = MSG_ReadFloat(&sv_message);
 	if (sv_message.badread) Con_Printf("SV_ReadClientMessage: badread at %s:%i\n", __FILE__, __LINE__);
 	move->receivetime = (float)sv.time;