From: Mario Date: Fri, 20 Dec 2013 18:34:43 +0000 (+1100) Subject: Fix another bad thing X-Git-Tag: xonotic-v0.8.0~241^2^2~23 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cb89d904b99f8b0517d0b7022699df581fd37ac2;p=xonotic%2Fxonotic-data.pk3dir.git Fix another bad thing --- diff --git a/qcsrc/server/accuracy.qc b/qcsrc/server/accuracy.qc index 9d54fad4a..ab057662b 100644 --- a/qcsrc/server/accuracy.qc +++ b/qcsrc/server/accuracy.qc @@ -109,7 +109,7 @@ void accuracy_add(entity e, float w, float fired, float hit) float accuracy_isgooddamage(entity attacker, entity targ) { - float targ_isvalid = ((g_invasion) ? targ.flags & FL_MONSTER : IS_CLIENT(targ)); + float targ_isvalid = ((g_invasion) ? (targ.flags & FL_MONSTER) : IS_CLIENT(targ)); if(!warmup_stage) if(targ_isvalid)