From 5624664abbb1001ce495f77437e5391438830622 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 29 Aug 2016 19:53:07 +1000 Subject: [PATCH] Add parenthesis --- qcsrc/common/util.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2