]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
simplify
authorRudolf Polzer <divverent@alientrap.org>
Sun, 12 Dec 2010 13:48:27 +0000 (14:48 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 12 Dec 2010 13:48:27 +0000 (14:48 +0100)
qcsrc/server/miscfunctions.qc

index 632a4a5ce1bedb30f9994d22c21481e44b1c961d..a2f4201019a46e19c1b45b78dc8c5d0f38a88a41 100644 (file)
@@ -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)