]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Melee attack always available for shotgun
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 23 Jan 2011 14:20:20 +0000 (16:20 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 23 Jan 2011 14:20:20 +0000 (16:20 +0200)
qcsrc/server/w_shotgun.qc

index 6242bf05bf671c3666bf2b668c1067da4957fc29..569916a298e5cf3524a76b160dbd7f0abb11ad1a 100644 (file)
@@ -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)
        {