X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAirports%2Fparking.cxx;h=b5c8f1ef0667fd5055190d9f45f082ac5a7fa0d9;hb=fc887b106bbb199ffe9c042b8271eae1be26c9aa;hp=032a12549c50beb4dc58f92365d3b068438e2efd;hpb=afcdbd3158503773644aa07dd86cd92d67946bd4;p=flightgear.git diff --git a/src/Airports/parking.cxx b/src/Airports/parking.cxx index 032a12549..b5c8f1ef0 100644 --- a/src/Airports/parking.cxx +++ b/src/Airports/parking.cxx @@ -36,21 +36,26 @@ * FGParking ********************************************************************************/ -FGParking::FGParking(PositionedID aGuid, const SGGeod& pos, +FGParking::FGParking(int index, + const SGGeod& pos, double aHeading, double aRadius, - const std::string& name, const std::string& aType, - const std::string& codes, - PositionedID pushBackNode) : - FGTaxiNode(aGuid, pos, false, 0), + const std::string& name, + const std::string& aType, + const std::string& codes) : + FGTaxiNode(index, pos, false, 0), heading(aHeading), radius(aRadius), parkingName(name), type(aType), - airlineCodes(codes), - pushBackPoint(pushBackNode) + airlineCodes(codes) { } FGParking::~FGParking() { } + +void FGParking::setPushBackPoint(const FGTaxiNodeRef &node) +{ + pushBackPoint = node; +}