From 37610af0e4a82c33e89dfee58613a5a138aa438b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Guilloux?= Date: Sun, 14 Jan 2024 22:49:42 +0100 Subject: [PATCH] Fix: Don't replace stripped characters with '?' in console (#11777) --- src/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/console.cpp b/src/console.cpp index 50fc1becba..becbcd644f 100644 --- a/src/console.cpp +++ b/src/console.cpp @@ -106,7 +106,7 @@ void IConsolePrint(TextColour colour_code, const std::string &string) /* Create a copy of the string, strip it of colours and invalid * characters and (when applicable) assign it to the console buffer */ - std::string str = StrMakeValid(string); + std::string str = StrMakeValid(string, SVS_NONE); if (_network_dedicated) { NetworkAdminConsole("console", str);