]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/performancedb.cxx
Parking: another segfault edge-case.
[flightgear.git] / src / AIModel / performancedb.cxx
index f7c286a9a345b8aea1d73ff6d5b9160f151a89b6..37660e6a0549191c347affb7134213d6098833cf 100644 (file)
@@ -1,4 +1,3 @@
-#include <simgear/math/SGMath.hxx>
 #include <simgear/misc/sg_path.hxx>
 #include <simgear/props/props.hxx>
 #include <simgear/props/props_io.hxx>
@@ -62,7 +61,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;
     }