aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sludge/debug.cpp')
-rw-r--r--engines/sludge/debug.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/sludge/debug.cpp b/engines/sludge/debug.cpp
index 222f411b80..3e256bd2ab 100644
--- a/engines/sludge/debug.cpp
+++ b/engines/sludge/debug.cpp
@@ -28,13 +28,15 @@
#include "debug.h"
#include "language.h"
+namespace Sludge {
+
void debugOut(const char *a, ...) {
if (! gameSettings.debugMode) return;
va_list argptr;
va_start(argptr, a);
-#if ALLOW_FILE
+#if 0
#if defined __unix__ && !(defined __APPLE__)
vfprintf(stderr, a, argptr);
#else
@@ -50,3 +52,5 @@ void debugOut(const char *a, ...) {
void debugHeader() {
debugOut("*** Engine compiled " __DATE__ " at " __TIME__ ".\n");
}
+
+} // End of namespace Sludge