Skip to content

Commit

Permalink
More debugging stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
CppAndre committed May 19, 2017
1 parent 05a9342 commit 9b79ba7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/game/Game_local.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,12 @@ void idGameLocal::Init(void) {
Printf("--------------------------------------\n");

// PreyRun BEGIN
#ifdef PR_DEBUG
// Enable console logging
cvarSystem->SetCVarString("logFileName", "Console.log");
cvarSystem->SetCVarInteger("logFile", 1);
#endif // PR_DEBUG

// Open log file
pr_logfile = fileSystem->OpenFileWrite(pr::LogFilePath, "fs_savepath");

Expand Down

0 comments on commit 9b79ba7

Please sign in to comment.