]> git.mxchange.org Git - flightgear.git/commitdiff
Add callsign for consitency.
authorVivian Meazza <vivian.meazza@lineone.net>
Wed, 8 Sep 2010 16:39:56 +0000 (17:39 +0100)
committerAnders Gidenstam <anders@gidenstam.org>
Fri, 17 Sep 2010 19:06:35 +0000 (21:06 +0200)
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
src/AIModel/AICarrier.cxx

index b6487519d026c05ea55bc026423f093d30ce9375..fba537a6764c2021c0b21002df5b985e14458b01 100644 (file)
@@ -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) {