From: Mario Date: Mon, 29 Aug 2016 09:53:07 +0000 (+1000) Subject: Add parenthesis X-Git-Tag: xonotic-v0.8.2~644 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5624664abbb1001ce495f77437e5391438830622;p=xonotic%2Fxonotic-data.pk3dir.git Add parenthesis --- diff --git a/qcsrc/common/util.qc b/qcsrc/common/util.qc index e0b501c25..22ee95ae3 100644 --- a/qcsrc/common/util.qc +++ b/qcsrc/common/util.qc @@ -397,8 +397,8 @@ string fixPriorityList(string order, float from, float to, float subtract, float n = tokenize_console(neworder); for(w = to; w >= from; --w) { - float wflags = Weapons_from(w).spawnflags; - if(wflags & WEP_FLAG_HIDDEN && wflags & WEP_FLAG_MUTATORBLOCKED && !(wflags & WEP_FLAG_NORMAL)) + int wflags = Weapons_from(w).spawnflags; + if((wflags & WEP_FLAG_HIDDEN) && (wflags & WEP_FLAG_MUTATORBLOCKED) && !(wflags & WEP_FLAG_NORMAL)) continue; for(i = 0; i < n; ++i) if(stof(argv(i)) == w)