if ((aimingAt != Mech.LOC_NONE) && (aimingMode != IAimingModes.AIM_MODE_NONE)) { if (target != null && target instanceof BipedMech) {
if (target != null && (aimingAt != Entity.LOC_NONE) && (aimingMode != IAimingModes.AIM_MODE_NONE)) { if (target instanceof BipedMech) {
    public String getAimingLocation() {      if ((aimingAt != Mech.LOC_NONE) && (aimingMode != IAimingModes.AIM_MODE_NONE)) {        if (target != null && target instanceof BipedMech) {          return BipedMech.LOCATION_NAMES[aimingAt];        } else if (target != null && target instanceof BipedMech){          return QuadMech.LOCATION_NAMES[aimingAt];        }      }      return null;    }