summaryrefslogtreecommitdiffstats
path: root/src/MCLogger.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-04-25 05:25:03 +0200
committerarchshift <admin@archshift.com>2014-04-25 05:25:03 +0200
commit62e5234535d1825b152c882fdaea9d2257194e6d (patch)
treec1fc8bb364b713c81ead55c95d7eee097cda4eae /src/MCLogger.cpp
parentOops, fixed that. (diff)
downloadcuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar.gz
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar.bz2
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar.lz
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar.xz
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar.zst
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.zip
Diffstat (limited to '')
-rw-r--r--src/MCLogger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MCLogger.cpp b/src/MCLogger.cpp
index 80fa7b173..ca47b29db 100644
--- a/src/MCLogger.cpp
+++ b/src/MCLogger.cpp
@@ -9,7 +9,6 @@
cMCLogger * cMCLogger::s_MCLogger = NULL;
-bool g_ShouldColorOutput = false;
#ifdef _WIN32
#include <io.h> // Needed for _isatty(), not available on Linux
@@ -33,7 +32,8 @@ cMCLogger * cMCLogger::GetInstance(void)
-cMCLogger::cMCLogger(void)
+cMCLogger::cMCLogger(void):
+ g_ShouldColorOutput(false)
{
AString FileName;
Printf(FileName, "LOG_%d.txt", (int)time(NULL));