]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIShip.cxx
Overhaul the ground-net / parking code.
[flightgear.git] / src / AIModel / AIShip.cxx
index 9ecc89175488c88a3eca578f26515d92ed98ec74..3d2263629c9d43372edec0a65f34e53e9a66d8f5 100644 (file)
@@ -1050,7 +1050,7 @@ void FGAIShip::setWPPos() {
     if (curr->getOn_ground()){
 
         if (globals->get_scenery()->get_elevation_m(SGGeod::fromGeodM(wppos, 3000),
-            elevation_m, &_material, 0)){
+            elevation_m, NULL, 0)){
                 wppos.setElevationM(elevation_m);
         }