Disable debug messages in bot modes

Uncomment added line to enable these messages.
This commit is contained in:
aurhat
2015-04-17 21:08:25 +02:00
parent 4e0e128b16
commit 6e7246d6cd
+2 -1
View File
@@ -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);