]> git.mxchange.org Git - flightgear.git/commitdiff
Win32 fix and add a reminder in an unfinished function
authorfredb <fredb>
Sun, 12 Aug 2007 13:38:36 +0000 (13:38 +0000)
committerfredb <fredb>
Sun, 12 Aug 2007 13:38:36 +0000 (13:38 +0000)
src/AIModel/performancedata.cxx

index 5c0ebb593c9ea838cca2adb578baa049ffdb7e60..d3c32dd607aa55eeaa8e21cd21b095d7a87b2912 100644 (file)
@@ -1,3 +1,8 @@
+
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+#endif
+
 #include "performancedata.hxx"
 #include "AIAircraft.hxx"
 
@@ -116,6 +121,7 @@ double PerformanceData::actualPitch(FGAIAircraft* ac, double tgt_pitch, double d
 
 double PerformanceData::actualAltitude(FGAIAircraft* ac, double tgt_altitude, double dt) {
     if (ac->onGround()) {
+        //FIXME: return a value here
     } else
         return ac->getAltitude() + ac->getVerticalSpeed()*dt/60.0;
 }