From: fredb Date: Sun, 12 Aug 2007 13:38:36 +0000 (+0000) Subject: Win32 fix and add a reminder in an unfinished function X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9d67f9400540fec4c60e0f43e694aaa771eef2c0;p=flightgear.git Win32 fix and add a reminder in an unfinished function --- diff --git a/src/AIModel/performancedata.cxx b/src/AIModel/performancedata.cxx index 5c0ebb593..d3c32dd60 100644 --- a/src/AIModel/performancedata.cxx +++ b/src/AIModel/performancedata.cxx @@ -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; }