diff --git a/source/src/bot/ac_bot.h b/source/src/bot/ac_bot.h index 89d0d1a9..eb4b502e 100644 --- a/source/src/bot/ac_bot.h +++ b/source/src/bot/ac_bot.h @@ -15,6 +15,7 @@ #ifdef AC_CUBE +//#define BOTDEBUG #define MAX_WEAPONS 10 class CACBot: public CBot @@ -39,7 +40,7 @@ public: inline void AddScreenText(const char *t, ...) {} // UNDONE inline void AddDebugText(const char *t, ...) { -#ifdef _DEBUG +#if defined(_DEBUG) && defined(BOTDEBUG) va_list v; va_start(v, t); conoutf(t,v);