mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Oops, fix highlighting color in console again
This commit is contained in:
parent
99f2adc29b
commit
c1374ac70a
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue