]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
fix bug with ClientDisconnect not being called if a client drops between "spawn"...
[xonotic/darkplaces.git] / server.h
index a35b42cd4d3f81b2fd6fddf2e2ed553b638a58d1..51e5d6b2a4991ff7a43792d41e18a1708406b8d1 100644 (file)
--- a/server.h
+++ b/server.h
@@ -113,6 +113,8 @@ typedef struct client_s
 {
        // false = empty client slot
        qboolean active;
+       // false = don't do ClientDisconnect on drop
+       qboolean clientconnectcalled;
        // false = don't send datagrams
        qboolean spawned;
        // has been told to go to another level