Changed TAB character rendering to be red, like in the original game

master
krzys-h 2015-08-07 14:16:01 +02:00
parent 4d5b4c47a2
commit 9bf53e48e8
1 changed files with 3 additions and 0 deletions

View File

@ -899,7 +899,10 @@ void CText::DrawCharAndAdjustPos(UTF8Char ch, FontType font, float size, Math::P
if (ch.c1 > 0 && ch.c1 < 32)
{
if (ch.c1 == '\t')
{
color = Color(1.0f, 0.0f, 0.0f, 1.0f);
width = m_tabSize;
}
ch = TranslateSpecialChar(ch.c1);
}