diff --git a/src/engine/shared/config_variables.h b/src/engine/shared/config_variables.h index 79b5c1deb..78af492a4 100644 --- a/src/engine/shared/config_variables.h +++ b/src/engine/shared/config_variables.h @@ -619,7 +619,7 @@ MACRO_CONFIG_COL(ClHookCollColorNoColl, cl_hook_coll_color_no_coll, 65407, CFGFL MACRO_CONFIG_COL(ClHookCollColorHookableColl, cl_hook_coll_color_hookable_coll, 6401973, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Specifies the color of a hookline that hits hookable tiles.") MACRO_CONFIG_COL(ClHookCollColorTeeColl, cl_hook_coll_color_tee_coll, 2817919, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Specifies the color of a hookline that hits tees.") -MACRO_CONFIG_INT(ClChatTeamColors, cl_chat_teamcolors, 0, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Show names in chat in team colors") +MACRO_CONFIG_INT(ClChatTeamColors, cl_chat_teamcolors, 1, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Show names in chat in team colors") MACRO_CONFIG_INT(ClChatReset, cl_chat_reset, 1, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Reset chat when pressing escape") MACRO_CONFIG_INT(ClChatOld, cl_chat_old, 0, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Old chat style: No tee, no background") MACRO_CONFIG_INT(ClChatFontSize, cl_chat_size, 60, 10, 100, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Chat font size") diff --git a/src/game/client/components/infomessages.cpp b/src/game/client/components/infomessages.cpp index 4abaa5c33..37f3f357a 100644 --- a/src/game/client/components/infomessages.cpp +++ b/src/game/client/components/infomessages.cpp @@ -280,7 +280,7 @@ void CInfoMessages::OnRaceFinishMessage(const CNetMsg_Sv_RaceFinish *pMsg) void CInfoMessages::RenderKillMsg(const CInfoMsg &InfoMsg, float x, float y) { ColorRGBA TextColor; - if(g_Config.m_ClChatTeamColors && InfoMsg.m_VictimDDTeam) + if(InfoMsg.m_VictimDDTeam) TextColor = m_pClient->GetDDTeamColor(InfoMsg.m_VictimDDTeam, 0.75f); else TextColor = TextRender()->DefaultTextColor(); @@ -402,7 +402,7 @@ void CInfoMessages::RenderFinishMsg(const CInfoMsg &InfoMsg, float x, float y) { x -= TextRender()->GetBoundingBoxTextContainer(InfoMsg.m_VictimTextContainerIndex).m_W; ColorRGBA TextColor; - if(g_Config.m_ClChatTeamColors && InfoMsg.m_VictimDDTeam) + if(InfoMsg.m_VictimDDTeam) TextColor = m_pClient->GetDDTeamColor(InfoMsg.m_VictimDDTeam, 0.75f); else TextColor = TextRender()->DefaultTextColor();