summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-25 15:28:16 +0100
committermadmaxoft <github@xoft.cz>2014-01-25 15:28:16 +0100
commitff066453b805748d6e665b3ad219a62c777e4453 (patch)
tree6e8f15418c0dfab39e55c28e96648290be33ca68 /src/main.cpp
parentAdded cFile::Flush(). (diff)
downloadcuberite-ff066453b805748d6e665b3ad219a62c777e4453.tar
cuberite-ff066453b805748d6e665b3ad219a62c777e4453.tar.gz
cuberite-ff066453b805748d6e665b3ad219a62c777e4453.tar.bz2
cuberite-ff066453b805748d6e665b3ad219a62c777e4453.tar.lz
cuberite-ff066453b805748d6e665b3ad219a62c777e4453.tar.xz
cuberite-ff066453b805748d6e665b3ad219a62c777e4453.tar.zst
cuberite-ff066453b805748d6e665b3ad219a62c777e4453.zip
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 902e9e43b..06b344c25 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -19,10 +19,8 @@ bool g_SERVER_TERMINATED = false; // Set to true when the server terminates, so
-#ifdef _DEBUG
/** If set to true, the protocols will log each player's communication to a separate logfile */
bool g_ShouldLogComm;
-#endif
@@ -232,7 +230,6 @@ int main( int argc, char **argv )
// *((int *)0) = 0;
// Check if comm logging is to be enabled:
- #ifdef _DEBUG
for (int i = 0; i < argc; i++)
{
if (
@@ -243,7 +240,6 @@ int main( int argc, char **argv )
g_ShouldLogComm = true;
}
}
- #endif // _DEBUG
#if !defined(ANDROID_NDK)
try