]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
renamed cl.protocol to cls.protocol
[xonotic/darkplaces.git] / client.h
index f3a8bace573087c81de451b97cadb5d94da86bbd..9dbe0686255cb9484898d7b549d7a37ede260e51 100644 (file)
--- a/client.h
+++ b/client.h
@@ -446,6 +446,9 @@ typedef struct client_static_s
        double connect_nextsendtime;
        lhnetsocket_t *connect_mysocket;
        lhnetaddress_t connect_address;
+       // protocol version of the server we're connected to
+       // (kept outside client_state_t because it's used between levels)
+       protocolversion_t protocol;
 
 // connection information
        // 0 to SIGNONS
@@ -637,9 +640,6 @@ typedef struct client_state_s
        // [cl.maxclients]
        scoreboard_t *scores;
 
-       // protocol version of the server we're connected to
-       protocolversion_t protocol;
-
        // entity database stuff
        // latest received entity frame numbers
 #define LATESTFRAMENUMS 3