]> git.mxchange.org Git - flightgear.git/commitdiff
Set the runway height in cur_fdm_state as well as base_fdm_state.
authorcurt <curt>
Wed, 27 Jan 1999 04:48:39 +0000 (04:48 +0000)
committercurt <curt>
Wed, 27 Jan 1999 04:48:39 +0000 (04:48 +0000)
FDM/flight.cxx

index 7cc2059be8de6df86f454ebb81cde429d3f2667c..e2f017cd443ebe8665f78810a5f76e73ff4cf902 100644 (file)
@@ -184,10 +184,14 @@ 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.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.