diff --git a/src/hu_stuff.c b/src/hu_stuff.c index a639b5a8..3edb3e02 100644 --- a/src/hu_stuff.c +++ b/src/hu_stuff.c @@ -448,7 +448,10 @@ void HU_AddChatText(const char *text, boolean playsound) if (OLDCHAT) // if we're using oldchat, print directly in console CONS_Printf("%s\n", text); else // if we aren't, still save the message to log.txt - CON_LogMessage(va("%s\n", text)); + { + CON_LogMessage(text); + CON_LogMessage("\n"); // Add newline. Don't use va for that, since `text` might be refering to va's buffer itself + } #else (void)playsound; CONS_Printf("%s\n", text);