- fixed log text output to console

src/p_user.cpp:429:42: warning: data argument not used by format string [-Wformat-extra-args]
This commit is contained in:
alexey.lysiuk 2019-03-16 14:45:16 +02:00
parent ac9a428196
commit 540e180fb1

View file

@ -426,7 +426,7 @@ void player_t::SetLogText (const char *text)
if (mo && mo->CheckLocalView())
{
// Print log text to console
Printf(PRINT_NONOTIFY, TEXTCOLOR_GOLD, "%s\n", LogText[0] == '$' ? GStrings(text + 1) : text);
Printf(PRINT_NONOTIFY, TEXTCOLOR_GOLD "%s\n", LogText[0] == '$' ? GStrings(text + 1) : text);
}
}