From 7a46d6e9cda02076ad44f659976325df8994e248 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 5 Feb 2019 11:56:20 +0200 Subject: [PATCH] - fixed output of localized player's log text to console --- src/p_user.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_user.cpp b/src/p_user.cpp index d1e20266d..6b3e408fd 100644 --- a/src/p_user.cpp +++ b/src/p_user.cpp @@ -442,7 +442,7 @@ void player_t::SetLogText (const char *text) { // Print log text to console AddToConsole(-1, TEXTCOLOR_GOLD); - AddToConsole(-1, GStrings(LogText)); + AddToConsole(-1, GStrings(text[0] == '$' ? text + 1 : text)); AddToConsole(-1, "\n"); } }