1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-27 08:29:11 +00:00

Fix: Don't replace striped characters with '?' in console

This commit is contained in:
glx22
2024-01-14 22:06:02 +01:00
parent a6873ef7dd
commit b732d3585b

View File

@@ -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);