From 449da95609b88134fd3556412abbb9fe6c11029a Mon Sep 17 00:00:00 2001 From: Rtch90 Date: Sun, 8 Apr 2012 01:18:36 +0100 Subject: [PATCH] [Fix] Debug logger was not opening file for write as it was pointing to the wrong directory. --- src/System/Debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/System/Debug.cpp b/src/System/Debug.cpp index 3cc6cfb..bc8e673 100644 --- a/src/System/Debug.cpp +++ b/src/System/Debug.cpp @@ -20,7 +20,7 @@ Debug *Debug::logger = NULL; Debug::Debug(bool logToFile) { time_t timestamp; if(logToFile) { - _logFile.open("../../Bin/Debug.log", ios::out); + _logFile.open("../Bin/Debug.log", ios::out); if(!_logFile.is_open()) { // We can not open our log. cerr << "Warning: Can not open Debug.log to write, continueing without logging\n";