From d94c0384a677c6748b60d24f869c116eae9fca40 Mon Sep 17 00:00:00 2001 From: furo Date: Fri, 26 Jan 2024 20:20:20 +0100 Subject: [PATCH] Store infomessages even if they aren't enabled --- src/game/client/components/infomessages.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/client/components/infomessages.cpp b/src/game/client/components/infomessages.cpp index 6893edde8..053325266 100644 --- a/src/game/client/components/infomessages.cpp +++ b/src/game/client/components/infomessages.cpp @@ -154,7 +154,7 @@ void CInfoMessages::OnMessage(int MsgType, void *pRawMsg) if(m_pClient->m_SuppressEvents) return; - if(MsgType == NETMSGTYPE_SV_KILLMSGTEAM && g_Config.m_ClShowKillMessages) + if(MsgType == NETMSGTYPE_SV_KILLMSGTEAM) { CNetMsg_Sv_KillMsgTeam *pMsg = (CNetMsg_Sv_KillMsgTeam *)pRawMsg; @@ -233,7 +233,7 @@ void CInfoMessages::OnMessage(int MsgType, void *pRawMsg) Graphics()->MapScreen(ScreenX0, ScreenY0, ScreenX1, ScreenY1); } - if(MsgType == NETMSGTYPE_SV_KILLMSG && g_Config.m_ClShowKillMessages) + if(MsgType == NETMSGTYPE_SV_KILLMSG) { CNetMsg_Sv_KillMsg *pMsg = (CNetMsg_Sv_KillMsg *)pRawMsg; @@ -300,7 +300,7 @@ void CInfoMessages::OnMessage(int MsgType, void *pRawMsg) Graphics()->MapScreen(ScreenX0, ScreenY0, ScreenX1, ScreenY1); } - if(MsgType == NETMSGTYPE_SV_RACEFINISH && g_Config.m_ClShowFinishMessages) + if(MsgType == NETMSGTYPE_SV_RACEFINISH) { CNetMsg_Sv_RaceFinish *pMsg = (CNetMsg_Sv_RaceFinish *)pRawMsg;