From 91583de3dbc18e517285670df833f2d4760c165a Mon Sep 17 00:00:00 2001 From: aerkefiende Date: Sun, 13 Jan 2013 18:33:16 +0000 Subject: [PATCH] Removed warning: suggest parantheses around && within || git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7088 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/scoreboard.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/src/scoreboard.cpp b/source/src/scoreboard.cpp index 7a4bed97..c8b59ed5 100644 --- a/source/src/scoreboard.cpp +++ b/source/src/scoreboard.cpp @@ -329,8 +329,8 @@ void renderscores(void *menu, bool init) { winner = scores[0]->clientnum; if(scores.length() > 1 - && (m_flags && scores[0]->flagscore == scores[1]->flagscore - || !m_flags && scores[0]->frags == scores[1]->frags)) + && ((m_flags && scores[0]->flagscore == scores[1]->flagscore) + || (!m_flags && scores[0]->frags == scores[1]->frags))) winner = -1; } }