menu: bufstr_get
authorTimePath <andrew.hardaker1995@gmail.com>
Sun, 20 Dec 2015 23:50:39 +0000 (10:50 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Sun, 20 Dec 2015 23:50:39 +0000 (10:50 +1100)
qcsrc/common/debug.qh
qcsrc/menu/progs.inc

index 4285a59..4a75c50 100644 (file)
@@ -1,9 +1,12 @@
 #ifndef DEBUG_H
 #define DEBUG_H
 
+#ifndef MENUQC
 .bool debug;
 .int sv_entnum;
 REGISTER_NET_TEMP(net_debug)
+#endif
+
 #ifdef CSQC
        NET_HANDLE(net_debug, bool isNew)
        {
@@ -40,7 +43,9 @@ REGISTER_NET_TEMP(net_debug)
        }
 #endif
 
+#ifndef MENUQC
 bool autocvar_debugdraw;
+#endif
 
 #ifdef CSQC
        string autocvar_debugdraw_filter, autocvar_debugdraw_filterout;
index 5282a01..730fb65 100644 (file)
@@ -16,6 +16,7 @@
 #include "../common/mapinfo.qc"
 #include "../common/playerstats.qc"
 #include "../common/util.qc"
+#include "../common/debug.qh"
 
 #include "../common/items/all.qc"
 #include "../common/monsters/all.qc"