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

Change: Log AI/GS Squirrel crashes in white text for readability (#10375)

This commit is contained in:
Andy
2023-01-20 21:42:57 +00:00
committed by GitHub
parent 5eb2e0fd3d
commit 3b0b572ebf

View File

@@ -1166,7 +1166,7 @@ struct AIDebugWindow : public Window {
TextColour colour;
switch (log->type[pos]) {
case ScriptLog::LOG_SQ_INFO: colour = TC_BLACK; break;
case ScriptLog::LOG_SQ_ERROR: colour = TC_RED; break;
case ScriptLog::LOG_SQ_ERROR: colour = TC_WHITE; break;
case ScriptLog::LOG_INFO: colour = TC_BLACK; break;
case ScriptLog::LOG_WARNING: colour = TC_YELLOW; break;
case ScriptLog::LOG_ERROR: colour = TC_RED; break;