]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Ground.cpp
Fix for bug 1304 - crash loading XML route
[flightgear.git] / src / FDM / YASim / Ground.cpp
index 32313f343b890e63e9eefabcacba5cd27e5c2c6d..955319e6848988ede9af105728b21f723b66df6f 100644 (file)
@@ -1,6 +1,10 @@
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+#endif
+
 #include "Glue.hpp"
 
-#include <simgear/scene/material/mat.hxx>
+#include <simgear/bvh/BVHMaterial.hxx>
 #include "Ground.hpp"
 namespace yasim {
 
@@ -31,7 +35,7 @@ void Ground::getGroundPlane(const double pos[3],
 
 void Ground::getGroundPlane(const double pos[3],
                             double plane[4], float vel[3],
-                            const SGMaterial **material)
+                            const simgear::BVHMaterial **material)
 {
     getGroundPlane(pos,plane,vel);
 }