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

Codechange: remove single use IConsoleDebug

This commit is contained in:
rubidium42
2021-06-12 20:45:11 +02:00
committed by rubidium42
parent 6b757c716a
commit 121b037054
3 changed files with 2 additions and 16 deletions

View File

@@ -135,8 +135,9 @@ void DebugPrint(const char *level, const std::string &message)
#else
fputs(msg.c_str(), stderr);
#endif
NetworkAdminConsole(level, message);
IConsoleDebug(level, message.c_str());
if (_settings_client.gui.developer >= 2) IConsolePrint(CC_DEBUG, "dbg: [{}] {}", level, message);
}
}