]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
try making srcon work better with many rcon comamnds queued
[xonotic/darkplaces.git] / client.h
index acab743af8b32db34498a07040461a7558e9c5ad..38b6f2682c5a1953ffbe846413b0dd9518b7a810 100644 (file)
--- a/client.h
+++ b/client.h
@@ -581,10 +581,11 @@ typedef struct client_static_s
        // (kept outside client_state_t because it's used between levels)
        protocolversion_t protocol;
 
-#define MAX_RCONS 64
+#define MAX_RCONS 16
        int rcon_trying;
        lhnetaddress_t rcon_addresses[MAX_RCONS];
        char rcon_commands[MAX_RCONS][MAX_INPUTLINE];
+       double rcon_timeout[MAX_RCONS];
        int rcon_ringpos;
 
 // connection information