1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2025-12-23 21:22:46 +01:00

Codechange: Use EnumBitSet for StringValidationSettings. (#13974)

This commit is contained in:
Peter Nelson
2025-04-08 21:19:17 +01:00
committed by GitHub
parent 4e4f413913
commit 5b9d171e63
15 changed files with 38 additions and 34 deletions

View File

@@ -103,7 +103,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, SVS_NONE);
std::string str = StrMakeValid(string, {});
if (_network_dedicated) {
NetworkAdminConsole("console", str);