From: FruitieX Date: Thu, 9 Dec 2010 20:31:46 +0000 (+0200) Subject: bring back the laser in Race X-Git-Tag: xonotic-v0.1.0preview~51^2~24 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=599234e1ea8480cf08ebe9730a3ddd9945de6c3e;p=xonotic%2Fxonotic-data.pk3dir.git bring back the laser in Race --- diff --git a/qcsrc/server/miscfunctions.qc b/qcsrc/server/miscfunctions.qc index 32d9bc176..4eb29e17a 100644 --- a/qcsrc/server/miscfunctions.qc +++ b/qcsrc/server/miscfunctions.qc @@ -880,7 +880,9 @@ 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 || g_cts) + else if (g_race) + t = (i == WEP_LASER || i == WEP_SHOTGUN); + else if (g_cts) t = (i == WEP_SHOTGUN); else if (g_nexball) t = 0; // weapon is set a few lines later