From 385d05f905d5f5bb20071f768d5e58d4a8176ddc Mon Sep 17 00:00:00 2001 From: fgenesis Date: Sun, 20 Nov 2011 16:27:55 +0100 Subject: [PATCH] restore debug.log output on non-win32 platforms --- BBGE/Core.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BBGE/Core.cpp b/BBGE/Core.cpp index 84d7bc9..8ce98a8 100644 --- a/BBGE/Core.cpp +++ b/BBGE/Core.cpp @@ -864,7 +864,6 @@ const float SORT_DELAY = 10; Core::Core(const std::string &filesystem, int numRenderLayers, const std::string &appName, int particleSize, std::string userDataSubFolder) : ActionMapper(), StateManager(), appName(appName) { - _logOut.open((debugLogPath + "debug.log").c_str()); sound = NULL; screenCapScale = Vector(1,1,1); timeUpdateType = TIMEUPDATE_DYNAMIC; @@ -898,7 +897,8 @@ Core::Core(const std::string &filesystem, int numRenderLayers, const std::string #else debugLogPath = ""; #endif - + + _logOut.open((debugLogPath + "debug.log").c_str()); debugLogActive = true; debugLogTextures = true;