]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.c
moved cl.movesequence/cl.servermovesequence to cls. struct, this keeps the movesequen...
[xonotic/darkplaces.git] / netconn.c
index eec93bcc8ee109f50bef3c2b10daf1095bc21eb9..180c78e364351bfea8f859c55147e97c26fd4bf5 100755 (executable)
--- a/netconn.c
+++ b/netconn.c
@@ -1092,6 +1092,9 @@ void NetConn_ConnectionEstablished(lhnetsocket_t *mysocket, lhnetaddress_t *peer
        cls.state = ca_connected;
        cls.signon = 0;                         // need all the signon messages before playing
        cls.protocol = initialprotocol;
+       // reset move sequence numbering on this new connection
+       cls.movesequence = 0;
+       cls.servermovesequence = 0;
        if (cls.protocol == PROTOCOL_QUAKEWORLD)
                Cmd_ForwardStringToServer("new");
        if (cls.protocol == PROTOCOL_QUAKE)