[Fix] Debug logger was not opening file for write as it was pointing to the wrong directory.

This commit is contained in:
Rtch90 2012-04-08 01:18:36 +01:00
parent 31a9694e74
commit 449da95609

View File

@ -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";