From af5bcb8e69e8bb70e0e08b92f68c39e4481ed1da Mon Sep 17 00:00:00 2001 From: TimePath Date: Mon, 21 Dec 2015 10:50:39 +1100 Subject: [PATCH] menu: bufstr_get --- qcsrc/common/debug.qh | 5 +++++ qcsrc/menu/progs.inc | 1 + 2 files changed, 6 insertions(+) diff --git a/qcsrc/common/debug.qh b/qcsrc/common/debug.qh index 4285a5941e..4a75c50fd2 100644 --- a/qcsrc/common/debug.qh +++ b/qcsrc/common/debug.qh @@ -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; diff --git a/qcsrc/menu/progs.inc b/qcsrc/menu/progs.inc index 5282a01888..730fb652b0 100644 --- a/qcsrc/menu/progs.inc +++ b/qcsrc/menu/progs.inc @@ -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" -- 2.39.2