Made IsValidFireWeapon() faster