mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- do not print initial player's log text on loading of saved game
This commit is contained in:
parent
7a46d6e9cd
commit
c026b991ae
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue