Fix for bayonet issue #3276.

Altered as per kevingranade's description: https://github.com/CleverRaven/Cataclysm-DDA/issues/3276