From 2573ca8ac40ce3031be4a8b688c32df12696cc98 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 15 Mar 2019 00:16:08 +0100 Subject: [PATCH] - disabled the error message spam from the demo loop These messages are useful for the playdemo CCMD, but since the demo loop is mostly non-functional anyway they better be disabled there. --- src/d_main.cpp | 1 + src/fragglescript/t_func.cpp | 2 +- src/g_game.cpp | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/d_main.cpp b/src/d_main.cpp index ebb17e3d68..6cc176a3bd 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -1292,6 +1292,7 @@ void D_DoAdvanceDemo (void) } else { + singledemo = false; G_DeferedPlayDemo (demoname); demosequence = 2; break; diff --git a/src/fragglescript/t_func.cpp b/src/fragglescript/t_func.cpp index c53bade0ea..c0804ffba0 100644 --- a/src/fragglescript/t_func.cpp +++ b/src/fragglescript/t_func.cpp @@ -573,7 +573,7 @@ void FParser::SF_Include(void) void FParser::SF_Input(void) { - Printf(PRINT_BOLD,"input() function not available in doom\n"); + Printf(PRINT_BOLD,"input() function not available in Doom\n"); } //========================================================================== diff --git a/src/g_game.cpp b/src/g_game.cpp index 6018628e94..cfdfc2a459 100644 --- a/src/g_game.cpp +++ b/src/g_game.cpp @@ -2727,7 +2727,7 @@ void G_DoPlayDemo (void) } demo_p = demobuffer; - Printf ("Playing demo %s\n", defdemoname.GetChars()); + if (singledemo) Printf ("Playing demo %s\n", defdemoname.GetChars()); C_BackupCVars (); // [RH] Save cvars that might be affected by demo @@ -2744,7 +2744,7 @@ void G_DoPlayDemo (void) } else { - Printf (PRINT_BOLD, "%s", eek); + //Printf (PRINT_BOLD, "%s", eek); gameaction = ga_nothing; } }