]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_init.cxx
adapt to changes in sg_exception interface
[flightgear.git] / src / Main / fg_init.cxx
index b602efdf3b7ff645cf79a8c3b09fd2081fe052da..7079f3d206fc8e95bd721d75ecf7afbffec93353 100644 (file)
@@ -1279,7 +1279,7 @@ void fgInitFDM() {
     } else if ( model == "yasim" ) {
         cur_fdm_state = new YASim( dt );
     } else {
-        throw sg_throwable(string("Unrecognized flight model '") + model
+        throw sg_exception(string("Unrecognized flight model '") + model
                + "', cannot init flight dynamics model.");
     }
 }