]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/miscfunctions.qc
simplify
[xonotic/xonotic-data.pk3dir.git] / 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)