From: MirceaKitsune Date: Mon, 6 Sep 2010 16:43:49 +0000 (+0300) Subject: By default, don't give the grabber at spawn time in RPG (since in this gametype you... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=79f5f99a3b039fce0b2cbbbbe5d28bacb2cd8657;p=voretournament%2Fvoretournament.git By default, don't give the grabber at spawn time in RPG (since in this gametype you must find your own items) --- diff --git a/data/qcsrc/server/miscfunctions.qc b/data/qcsrc/server/miscfunctions.qc index 234a04fd..84abf864 100644 --- a/data/qcsrc/server/miscfunctions.qc +++ b/data/qcsrc/server/miscfunctions.qc @@ -853,7 +853,12 @@ float want_weapon(string cvarprefix, entity weaponinfo, float allguns) var float t = cvar(strcat(cvarprefix, weaponinfo.netname)); if (t < 0) // "default" weapon selection - t = (i == WEP_GRABBER); + { + if(g_rpg) // no start weapons in RPG by default + t = 0; + else + t = (i == WEP_GRABBER); + } return t; }