diff --git a/src/AIModel/AIFlightPlanCreatePushBack.cxx b/src/AIModel/AIFlightPlanCreatePushBack.cxx index 458e19a94..998a53a93 100644 --- a/src/AIModel/AIFlightPlanCreatePushBack.cxx +++ b/src/AIModel/AIFlightPlanCreatePushBack.cxx @@ -93,7 +93,7 @@ bool FGAIFlightPlan::createPushBack(FGAIAircraft *ac, FGGroundNetwork* groundNet = dep->groundNetwork(); FGParking *parking = gate.parking(); - if (parking && parking->getPushBackPoint() > 0) { + if (parking && parking->getPushBackPoint() != NULL) { FGTaxiRoute route = groundNet->findShortestRoute(parking, parking->getPushBackPoint(), false); int size = route.size();