From: Rudolf Polzer Date: Mon, 16 Jan 2012 11:04:21 +0000 (+0100) Subject: in minstagib, DO allow throwing superweapons X-Git-Tag: xonotic-v0.6.0~157^2~10 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=01199f448d10b1c01c6e0a6c911d58b6cceed079;p=xonotic%2Fxonotic-data.pk3dir.git in minstagib, DO allow throwing superweapons --- diff --git a/qcsrc/server/cl_weapons.qc b/qcsrc/server/cl_weapons.qc index 8c0cb96e0..8b3b5e596 100644 --- a/qcsrc/server/cl_weapons.qc +++ b/qcsrc/server/cl_weapons.qc @@ -288,8 +288,9 @@ float W_IsWeaponThrowable(float w) wb = W_WeaponBit(w); if(!wb) return 0; - if(wb & WEPBIT_SUPERWEAPONS) // can't throw a superweapon, they don't work - return 0; + if(!g_minstagib) + if(wb & WEPBIT_SUPERWEAPONS) // can't throw a superweapon, they don't work + return 0; wa = W_AmmoItemCode(w); if(start_weapons & wb) {