if (wtype.getAmmoType() != AmmoType.T_NA) {
if ( wtype.getAmmoType() != AmmoType.T_NA && (wtype.getFlags() & WeaponType.F_INFANTRY) != WeaponType.F_INFANTRY ) {
    public void reloadEmptyWeapons() {        // try to reload weapons        for (Enumeration i = getWeapons(); i.hasMoreElements();) {            Mounted mounted = (Mounted)i.nextElement();            WeaponType wtype = (WeaponType)mounted.getType();            if (wtype.getAmmoType() != AmmoType.T_NA) {                if (mounted.getLinked() == null || mounted.getLinked().getShotsLeft() <= 0) {                    loadWeapon(mounted);                }            }        }    }