1
0
Fork 0

Add callsign for consitency.

Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
This commit is contained in:
Vivian Meazza 2010-09-08 17:39:56 +01:00 committed by Anders Gidenstam
parent c7e864cee9
commit afbc360eed

View file

@ -58,6 +58,8 @@ void FGAICarrier::readFromScenario(SGPropertyNode* scFileNode) {
setMinLong(scFileNode->getDoubleValue("min-long", 0)); setMinLong(scFileNode->getDoubleValue("min-long", 0));
setMPControl(scFileNode->getBoolValue("mp-control", false)); setMPControl(scFileNode->getBoolValue("mp-control", false));
setAIControl(scFileNode->getBoolValue("ai-control", false)); setAIControl(scFileNode->getBoolValue("ai-control", false));
setCallSign(scFileNode->getStringValue("callsign", ""));
SGPropertyNode* flols = scFileNode->getChild("flols-pos"); SGPropertyNode* flols = scFileNode->getChild("flols-pos");
if (flols) { if (flols) {