]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
fixed bug that caused csqc to only load after a map restart
[xonotic/darkplaces.git] / server.h
index df8a043b6d8a5b92c67aad7796c5797f914e6dd8..974374ef137f21713e5a0c3e18cd7ba6d5648fb8 100644 (file)
--- a/server.h
+++ b/server.h
@@ -68,6 +68,10 @@ typedef struct server_s
        int lastcheck;
        double lastchecktime;
 
+       // crc of clientside progs at time of level start
+       int csqc_progcrc; // -1 = no progs
+       char csqc_progname[MAX_QPATH]; // copied from csqc_progname at level start
+
        // map name
        char name[64];
        // maps/<name>.bsp, for model_precache[0]