Init of repositioned flag
This commit is contained in:
parent
1bafe15c4c
commit
8c537a911e
2 changed files with 5 additions and 9 deletions
|
@ -92,10 +92,6 @@ FGAIAircraft::FGAIAircraft(FGAISchedule* ref) : /* HOT must be disabled for AI A
|
|||
prevSpeed = 0.0;
|
||||
prev_dist_to_go = 0.0;
|
||||
|
||||
holdPos = false;
|
||||
needsTaxiClearance = false;
|
||||
_needsGroundElevation = true;
|
||||
|
||||
PerformanceDB* perfDB = globals->get_subsystem<PerformanceDB>();
|
||||
if (perfDB) {
|
||||
_performance = perfDB->getDefaultPerformance();
|
||||
|
|
|
@ -175,21 +175,21 @@ private:
|
|||
int spinCounter;
|
||||
/**Kills a flight when it's stuck */
|
||||
const int AI_STUCK_LIMIT = 100;
|
||||
int stuckCounter;
|
||||
int stuckCounter = 0;
|
||||
/**
|
||||
* Signals a reset to leg 1 at a different airport.
|
||||
* The leg loading happens at a different place than the parking loading.
|
||||
* */
|
||||
bool repositioned;
|
||||
bool repositioned = false;
|
||||
double prevSpeed;
|
||||
double prev_dist_to_go;
|
||||
|
||||
bool holdPos;
|
||||
bool holdPos = false;
|
||||
|
||||
const char * _getTransponderCode() const;
|
||||
|
||||
bool needsTaxiClearance;
|
||||
bool _needsGroundElevation;
|
||||
bool needsTaxiClearance = false;
|
||||
bool _needsGroundElevation = true;
|
||||
int takeOffStatus; // 1 = joined departure queue; 2 = Passed DepartureHold waypoint; handover control to tower; 0 = any other state.
|
||||
time_t timeElapsed;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue