Skip to content

Commit

Permalink
Tweak to console text when -warp used
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Mar 3, 2025
1 parent c2e3514 commit 079c71d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/d_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2783,11 +2783,14 @@ static void D_DoomMainSetup(void)
C_StringCVAROutput(stringize(alwaysrun), "on");

if (M_CheckParmWithArgs("-warp", 1))
C_Output("A " BOLD("-warp") " parameter was found on the command-line. Warping to %s...", lumpname);
C_Output("A " BOLD("-warp") " parameter was found on the command-line. Warping %s to %s...",
(M_StringCompare(playername, playername_default) ? "you" : playername), lumpname);
else if (M_CheckParmWithArgs("+map", 1))
C_Output("A " BOLD("+map") " parameter was found on the command-line. Warping to %s...", lumpname);
C_Output("A " BOLD("+map") " parameter was found on the command-line. Warping %s to %s...",
(M_StringCompare(playername, playername_default) ? "you" : playername), lumpname);
else
C_Output("Warping to %s...", lumpname);
C_Output("Warping %s to %s...",
(M_StringCompare(playername, playername_default) ? "you" : playername), lumpname);

G_DeferredInitNew(startskill, startepisode, startmap);
}
Expand Down

0 comments on commit 079c71d

Please sign in to comment.