Disable debug messages in bot modes
Uncomment added line to enable these messages.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user