From 141089f2573d7be7b70d9a187ba855a0f2c756c4 Mon Sep 17 00:00:00 2001 From: oy Date: Mon, 28 Mar 2011 23:30:56 +0200 Subject: fixed more compiler warnings --- src/game/client/components/chat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/client/components/chat.cpp') diff --git a/src/game/client/components/chat.cpp b/src/game/client/components/chat.cpp index cc65e955..19264194 100644 --- a/src/game/client/components/chat.cpp +++ b/src/game/client/components/chat.cpp @@ -238,8 +238,8 @@ void CChat::OnMessage(int MsgType, void *pRawMsg) void CChat::AddLine(int ClientID, int Team, const char *pLine) { - if(ClientID != -1 && m_pClient->m_aClients[ClientID].m_aName[0] == '\0' || // unknown client - m_pClient->m_aClients[ClientID].m_ChatIgnore) + if(ClientID != -1 && (m_pClient->m_aClients[ClientID].m_aName[0] == '\0' || // unknown client + m_pClient->m_aClients[ClientID].m_ChatIgnore)) return; bool Highlighted = false; -- cgit 1.4.1