]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ATCmgr.cxx
Patch from Julian Foad:
[flightgear.git] / src / ATC / ATCmgr.cxx
index 4cf79d3372d0da502ba0838568c8f5af481a47df..eb6441de854ef79a889a8a82a80af14d88c1be19 100644 (file)
@@ -88,7 +88,7 @@ void FGATCMgr::init() {
     airport_atc_map[(string)"KEMT"] = a;
 }
 
-void FGATCMgr::update(int dt) {
+void FGATCMgr::update(double dt) {
     //Traverse the list of active stations.
     //Only update one class per update step to avoid the whole ATC system having to calculate between frames.
     //Eventually we should only update every so many steps.
@@ -198,6 +198,8 @@ FGATC* FGATCMgr::GetATCPointer(string icao, atc_type type) {
     }
 
     cout << "ERROR IN FGATCMgr - reached end of GetATCPointer\n";
+
+    return NULL;
 }