]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/tower.cxx
allow to trigger widgets via accelerator key, which is defined via "keynum"
[flightgear.git] / src / ATC / tower.cxx
index cbd8ddc9f7b2be4f27a3368e45da8411a1073492..59de9b9395ad65bcf75d8356e2ede45f48a00289 100644 (file)
@@ -2196,8 +2196,8 @@ void FGTower::RemovePlane(const string& ID) {
                        trafficListItr = trafficList.begin();
                }
        }
-       // And finally, delete the record if we found it.
-       if(t) delete t;
+       // And finally, delete the record.
+       delete t;
 }
 
 void FGTower::ReportDownwind(const string& ID) {