]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
fix a compile error in my last edit for OSX
[xonotic/darkplaces.git] / server.h
index 030ffe7c1893c6d305b64b257f8a4264fcb68d02..a345d3bea630a7549fcf6f6d881b9f2d274681e5 100644 (file)
--- a/server.h
+++ b/server.h
@@ -163,7 +163,7 @@ typedef struct server_s
        unsigned char csqcentityversion[MAX_EDICTS]; // legacy
 } server_t;
 
-#define NUM_CSQCENTITIES_PER_FRAME 1024
+#define NUM_CSQCENTITIES_PER_FRAME 256
 typedef struct csqcentityframedb_s
 {
        int framenum;
@@ -247,10 +247,11 @@ typedef struct client_s
        unsigned char csqcentityscope[MAX_EDICTS];
        unsigned int csqcentitysendflags[MAX_EDICTS];
 
-#define NUM_CSQCENTITYDB_FRAMES 64
+#define NUM_CSQCENTITYDB_FRAMES 256
        unsigned char csqcentityglobalhistory[MAX_EDICTS]; // set to 1 if the entity was ever csqc networked to the client, and never reset back to 0
        csqcentityframedb_t csqcentityframehistory[NUM_CSQCENTITYDB_FRAMES];
        int csqcentityframehistory_next;
+       int csqcentityframe_lastreset;
 
        /// prevent animated names
        float nametime;