1
0
Fork 0

Win32 fix and add a reminder in an unfinished function

This commit is contained in:
fredb 2007-08-12 13:38:36 +00:00
parent 1c8f2e3c5b
commit 9d67f94005

View 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;
}