]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/AIEntity.cxx
The most important part is that it fixes possible
[flightgear.git] / src / ATC / AIEntity.cxx
index 945668a15b227e3eb67928d19d541560a05ab67b..efcaaee1cc56ce05be481d4185e32cf26939baf8 100644 (file)
@@ -68,8 +68,9 @@ void FGAIEntity::SetModel(ssgBranch* model) {
 void FGAIEntity::Update(double dt) {
 }
 
-string FGAIEntity::GetCallsign() {
-       return("");
+const string &FGAIEntity::GetCallsign() {
+       static string s = "";
+       return(s);
 }
 
 void FGAIEntity::RegisterTransmission(int code) {