Added code to match animation to weapon switch.