From: Vivian Meazza Date: Wed, 8 Sep 2010 16:39:56 +0000 (+0100) Subject: Add callsign for consitency. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=afbc360eeded20d4447ab005ee0e234a43f068cd;p=flightgear.git Add callsign for consitency. Signed-off-by: Vivian Meazza --- diff --git a/src/AIModel/AICarrier.cxx b/src/AIModel/AICarrier.cxx index b6487519d..fba537a67 100644 --- a/src/AIModel/AICarrier.cxx +++ b/src/AIModel/AICarrier.cxx @@ -58,6 +58,8 @@ void FGAICarrier::readFromScenario(SGPropertyNode* scFileNode) { setMinLong(scFileNode->getDoubleValue("min-long", 0)); setMPControl(scFileNode->getBoolValue("mp-control", false)); setAIControl(scFileNode->getBoolValue("ai-control", false)); + setCallSign(scFileNode->getStringValue("callsign", "")); + SGPropertyNode* flols = scFileNode->getChild("flols-pos"); if (flols) {