From c026b991ae5ec0f79e2226fa77247d71d9a82987 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 5 Feb 2019 11:57:18 +0200 Subject: [PATCH] - do not print initial player's log text on loading of saved game --- src/g_level.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/g_level.cpp b/src/g_level.cpp index e1d8fc322..9b0875441 100644 --- a/src/g_level.cpp +++ b/src/g_level.cpp @@ -465,7 +465,10 @@ void G_InitNew (const char *mapname, bool bTitleLevel) ST_CreateStatusBar(bTitleLevel); setsizeneeded = true; - if (gameinfo.gametype == GAME_Strife || (SBarInfoScript[SCRIPT_CUSTOM] != NULL && SBarInfoScript[SCRIPT_CUSTOM]->GetGameType() == GAME_Strife)) + const bool setlogtext = !savegamerestore && (gameinfo.gametype == GAME_Strife + || (SBarInfoScript[SCRIPT_CUSTOM] != nullptr && SBarInfoScript[SCRIPT_CUSTOM]->GetGameType() == GAME_Strife)); + + if (setlogtext) { // Set the initial quest log text for Strife. for (i = 0; i < MAXPLAYERS; ++i)