]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/performancedb.cxx
Merge branch 'next' into attenuation
[flightgear.git] / src / AIModel / performancedb.cxx
index 3f9aafa6893f704d496f68d89a9308ef263be529..842cb9bf83aee16c14d409a7522057e5964c0a56 100644 (file)
@@ -1,3 +1,4 @@
+#include <simgear/math/SGMath.hxx>
 #include <simgear/misc/sg_path.hxx>
 #include <simgear/props/props.hxx>
 #include <simgear/props/props_io.hxx>
@@ -61,7 +62,7 @@ void PerformanceDB::load(SGPath filename) {
     try {
         readProperties(filename.str(), &root);
     } catch (const sg_exception &) {
-        SG_LOG(SG_GENERAL, SG_ALERT,
+        SG_LOG(SG_AI, SG_ALERT,
             "Error reading AI aircraft performance database: " << filename.str());
         return;
     }