Modification to weapon code.