From: Rudolf Polzer Date: Sun, 12 Dec 2010 13:48:27 +0000 (+0100) Subject: simplify X-Git-Tag: xonotic-v0.1.0preview~50 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=717d02db358289e8d5b4795bf3786c0d0433bfb5;p=xonotic%2Fxonotic-data.pk3dir.git simplify --- diff --git a/qcsrc/server/miscfunctions.qc b/qcsrc/server/miscfunctions.qc index 632a4a5ce..a2f420101 100644 --- a/qcsrc/server/miscfunctions.qc +++ b/qcsrc/server/miscfunctions.qc @@ -880,8 +880,6 @@ float want_weapon(string cvarprefix, entity weaponinfo, float allguns) t = (weaponinfo.spawnflags & WEP_FLAG_NORMAL); else if(t < -1) t = 0; - else if (g_race) - t = (i == WEP_LASER || i == WEP_SHOTGUN); else if (g_cts) t = (i == WEP_SHOTGUN); else if (g_nexball)