]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ATCmgr.cxx
Patch from Melchior Franz:
[flightgear.git] / src / ATC / ATCmgr.cxx
index 5d77f197495d50e2291576e238c7cff66f575433..4cf79d3372d0da502ba0838568c8f5af481a47df 100644 (file)
@@ -149,7 +149,7 @@ void FGATCMgr::RemoveFromList(const char* id, atc_type tp) {
 // Returns true if the airport is found in the map
 bool FGATCMgr::GetAirportATCDetails(string icao, AirportATC* a) {
     if(airport_atc_map.find(icao) != airport_atc_map.end()) {
-       a = airport_atc_map[icao];
+        *a = *airport_atc_map[icao];
        return(true);
     } else {
        return(false);