Win32 fix and add a reminder in an unfinished function
This commit is contained in:
parent
1c8f2e3c5b
commit
9d67f94005
1 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "performancedata.hxx"
|
#include "performancedata.hxx"
|
||||||
#include "AIAircraft.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) {
|
double PerformanceData::actualAltitude(FGAIAircraft* ac, double tgt_altitude, double dt) {
|
||||||
if (ac->onGround()) {
|
if (ac->onGround()) {
|
||||||
|
//FIXME: return a value here
|
||||||
} else
|
} else
|
||||||
return ac->getAltitude() + ac->getVerticalSpeed()*dt/60.0;
|
return ac->getAltitude() + ac->getVerticalSpeed()*dt/60.0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue