1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-26 06:35:51 +00:00

restore debug.log output on non-win32 platforms

This commit is contained in:
fgenesis 2011-11-20 16:27:55 +01:00
parent 7d2b3965a9
commit 385d05f905

View file

@ -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) Core::Core(const std::string &filesystem, int numRenderLayers, const std::string &appName, int particleSize, std::string userDataSubFolder)
: ActionMapper(), StateManager(), appName(appName) : ActionMapper(), StateManager(), appName(appName)
{ {
_logOut.open((debugLogPath + "debug.log").c_str());
sound = NULL; sound = NULL;
screenCapScale = Vector(1,1,1); screenCapScale = Vector(1,1,1);
timeUpdateType = TIMEUPDATE_DYNAMIC; timeUpdateType = TIMEUPDATE_DYNAMIC;
@ -899,6 +898,7 @@ Core::Core(const std::string &filesystem, int numRenderLayers, const std::string
debugLogPath = ""; debugLogPath = "";
#endif #endif
_logOut.open((debugLogPath + "debug.log").c_str());
debugLogActive = true; debugLogActive = true;
debugLogTextures = true; debugLogTextures = true;