From: Mircea Kitsune Date: Sun, 23 Jan 2011 14:20:20 +0000 (+0200) Subject: Melee attack always available for shotgun X-Git-Tag: xonotic-v0.5.0~309^2~7^2~91 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1518d1d19c8901673b13c84c059c8d2746e9899f;p=xonotic%2Fxonotic-data.pk3dir.git Melee attack always available for shotgun --- diff --git a/qcsrc/server/w_shotgun.qc b/qcsrc/server/w_shotgun.qc index 6242bf05b..569916a29 100644 --- a/qcsrc/server/w_shotgun.qc +++ b/qcsrc/server/w_shotgun.qc @@ -231,7 +231,8 @@ float w_shotgun(float req) } else if (req == WR_CHECKAMMO2) { - return FALSE; + // melee attack must always be available + return TRUE; } else if (req == WR_RELOAD) {