Reduce diff with upstream for console command functionality

This commit is contained in:
Jonathan G Rennison
2024-05-20 19:05:04 +01:00
parent 88d7be1d99
commit 8907b9aa31
8 changed files with 475 additions and 490 deletions

View File

@@ -386,8 +386,8 @@ void ShowErrorMessage(StringID summary_msg, StringID detailed_msg, WarningLevel
if (textref_stack_size > 0) StopTextRefStackUsage();
switch (wl) {
case WL_WARNING: IConsolePrint(CC_WARNING, message.c_str()); break;
default: IConsoleError(message.c_str()); break;
case WL_WARNING: IConsolePrint(CC_WARNING, message); break;
default: IConsolePrint(CC_ERROR, message); break;
}
}