]> git.mxchange.org Git - flightgear.git/blobdiff - FDM/flight.cxx
Renamed FlightGear/Simulator/Flight to FlightGear/Simulator/FDM since
[flightgear.git] / FDM / flight.cxx
index 7cc2059be8de6df86f454ebb81cde429d3f2667c..5216c251b0133b1203c19afba2988ccace022304 100644 (file)
@@ -28,8 +28,8 @@
 #include "LaRCsim.hxx"
 
 #include <Debug/logstream.hxx>
-#include <Flight/External/external.hxx>
-#include <Flight/LaRCsim/ls_interface.h>
+#include <FDM/External/external.hxx>
+#include <FDM/LaRCsim/ls_interface.h>
 #include <Include/fg_constants.h>
 #include <Math/fg_geodesy.hxx>
 #include <Time/timestamp.hxx>
@@ -184,10 +184,18 @@ void fgFDMForceAltitude(int model, double alt_meters) {
 // Set the local ground elevation
 void fgFDMSetGroundElevation(int model, double ground_meters) {
     base_fdm_state.set_Runway_altitude( ground_meters * METER_TO_FEET );
+    cur_fdm_state.set_Runway_altitude( ground_meters * METER_TO_FEET );
 }
 
 
 // $Log$
+// Revision 1.14  1999/02/01 21:33:31  curt
+// Renamed FlightGear/Simulator/Flight to FlightGear/Simulator/FDM since
+// Jon accepted my offer to do this and thought it was a good idea.
+//
+// Revision 1.13  1999/01/27 04:48:39  curt
+// Set the runway height in cur_fdm_state as well as base_fdm_state.
+//
 // Revision 1.12  1999/01/20 13:42:22  curt
 // Tweaked FDM interface.
 // Testing check sum support for NMEA serial output.