Oops, fix highlighting color in console again

This commit is contained in:
def 2015-02-02 00:21:41 +01:00
parent 99f2adc29b
commit c1374ac70a

View file

@ -517,6 +517,8 @@ void CGameConsole::OnRender()
{ {
if(pEntry->m_Highlighted) if(pEntry->m_Highlighted)
TextRender()->TextColor(rgb.r, rgb.g, rgb.b, 1); TextRender()->TextColor(rgb.r, rgb.g, rgb.b, 1);
else
TextRender()->TextColor(1,1,1,1);
// get y offset (calculate it if we haven't yet) // get y offset (calculate it if we haven't yet)
if(pEntry->m_YOffset < 0.0f) if(pEntry->m_YOffset < 0.0f)