From 599234e1ea8480cf08ebe9730a3ddd9945de6c3e Mon Sep 17 00:00:00 2001 From: FruitieX Date: Thu, 9 Dec 2010 22:31:46 +0200 Subject: [PATCH] bring back the laser in Race --- qcsrc/server/miscfunctions.qc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2