mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Reset text color after kill messages are created
This commit is contained in:
parent
6efd65d62d
commit
cc87d49c9b
|
@ -103,6 +103,7 @@ void CKillMessages::CreateKillmessageNamesIfNotCreated(CKillMsg &Kill)
|
|||
|
||||
Kill.m_KillerTextContainerIndex = TextRender()->CreateTextContainer(&Cursor, Kill.m_aKillerName);
|
||||
}
|
||||
TextRender()->TextColor(TextRender()->DefaultTextColor());
|
||||
}
|
||||
|
||||
void CKillMessages::OnMessage(int MsgType, void *pRawMsg)
|
||||
|
|
|
@ -2370,7 +2370,7 @@ void CMenus::RenderSettingsHUD(CUIRect MainView)
|
|||
TextRender()->TextEx(&Cursor, "*** Echo command executed", -1);
|
||||
TextRender()->SetCursorPosition(&Cursor, X, Y);
|
||||
|
||||
TextRender()->TextColor(1, 1, 1, 1);
|
||||
TextRender()->TextColor(TextRender()->DefaultTextColor());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue