fixed weapon equality test