We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05a9342 commit 9b79ba7Copy full SHA for 9b79ba7
1 file changed
src/game/Game_local.cpp
@@ -375,6 +375,12 @@ void idGameLocal::Init(void) {
375
Printf("--------------------------------------\n");
376
377
// PreyRun BEGIN
378
+#ifdef PR_DEBUG
379
+ // Enable console logging
380
+ cvarSystem->SetCVarString("logFileName", "Console.log");
381
+ cvarSystem->SetCVarInteger("logFile", 1);
382
+#endif // PR_DEBUG
383
+
384
// Open log file
385
pr_logfile = fileSystem->OpenFileWrite(pr::LogFilePath, "fs_savepath");
386
0 commit comments