From: Mario Date: Fri, 13 Feb 2015 19:39:39 +0000 (+1100) Subject: Apply a bad hack to give flak rockets on pickup X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a857ea1d0ff2828204c06954618721a48c85c17c;p=xonotic%2Fxonotic-data.pk3dir.git Apply a bad hack to give flak rockets on pickup --- diff --git a/qcsrc/server/weapons/spawning.qc b/qcsrc/server/weapons/spawning.qc index ea62fcf19..618b92e83 100644 --- a/qcsrc/server/weapons/spawning.qc +++ b/qcsrc/server/weapons/spawning.qc @@ -159,6 +159,9 @@ void weapon_defaultspawnfunc(float wpn) } } + if(self.weapon == WEP_FLAK) + self.ammo_rockets = cvar("g_pickup_rockets_weapon"); // special case + #if 0 // WEAPONTODO if(e.items) {