From: MirceaKitsune Date: Mon, 6 Sep 2010 16:17:01 +0000 (+0300) Subject: Improve a sbar issue a little X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=06f204aba8cb39181da371d62ac70a680881b170;p=voretournament%2Fvoretournament.git Improve a sbar issue a little --- diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index 6d75af02..91a3c3df 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -512,9 +512,10 @@ void Cmd_Sbar_SetFields(float argc) if(str == strtolower(scores_label[j])) goto found; // sorry, but otherwise fteqcc -O3 miscompiles this and warns about "unreachable code" :notfound - if(str == "frags" && !(gametype == GAME_RPG)) + if(str == "frags") { - j = SP_FRAGS; + if not(gametype == GAME_RPG) + j = SP_FRAGS; } else {