]> git.mxchange.org Git - flightgear.git/blobdiff - src/Environment/fgclouds.cxx
Bind the CAVOK flag to metarproperties
[flightgear.git] / src / Environment / fgclouds.cxx
index 6e77d9b0e96629a49d51ff8df56e20080447f3e2..58653e05364c3dce780ab2695d3f308743ff8406 100644 (file)
@@ -57,6 +57,10 @@ FGClouds::FGClouds() :
 
 FGClouds::~FGClouds()
 {
+    globals->get_commands()->removeCommand("add-cloud");
+       globals->get_commands()->removeCommand("del-cloud");
+       globals->get_commands()->removeCommand("move-cloud");
+
 }
 
 int FGClouds::get_update_event(void) const {