]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
reworked sendsignon logic so that unlimited sends are allowed once
[xonotic/darkplaces.git] / server.h
index a63d12329ca98d8081582cba6d270c6fdd929dd6..730e7fcf2347090b0044380050f8a566f92da6ec 100644 (file)
--- a/server.h
+++ b/server.h
@@ -140,8 +140,8 @@ typedef struct client_s
        qboolean clientconnectcalled;
        // false = don't send datagrams
        qboolean spawned;
        qboolean clientconnectcalled;
        // false = don't send datagrams
        qboolean spawned;
-       // false = don't send reliable messages until svc_signonnum 2 (before spawned is set)
-       qboolean sendsignon;
+       // 1 = send svc_serverinfo and advance to 2, 2 doesn't send, then advances to 0 (allowing unlimited sending) when prespawn is received
+       int sendsignon;
 
        // requested rate in bytes per second
        int rate;
 
        // requested rate in bytes per second
        int rate;