1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Allow formatting in in-game console

This commit is contained in:
Ted John
2020-12-05 14:14:09 +00:00
parent 164f570aae
commit d6fd4ed64b

View File

@@ -312,7 +312,7 @@ void InGameConsole::Draw(rct_drawpixelinfo* dpi) const
{
const size_t index = i + _consoleScrollPos;
lineBuffer = colourFormatStr + _consoleLines[index];
gfx_draw_string_no_formatting(dpi, lineBuffer.c_str(), textColour, screenCoords);
gfx_draw_string(dpi, lineBuffer.c_str(), textColour, screenCoords);
screenCoords.y += lineHeight;
}