]> git.mxchange.org Git - flightgear.git/blobdiff - src/Traffic/Schedule.hxx
Merge branch 'next' into durk-atc
[flightgear.git] / src / Traffic / Schedule.hxx
index 92b7e78aa0efb8ea55c4221b612bd653935e99c6..1f508271bb78a5c8ff6f3c13a59da61b7744c704 100644 (file)
@@ -59,6 +59,7 @@ class FGAISchedule
   bool firstRun;
   double courseToDest;
   bool initialized;
+  bool valid;
 
   void scheduleFlights();
   
@@ -124,6 +125,7 @@ class FGAISchedule
   // used to sort in decending order of score: I've probably found a better way to
   // decending order sorting, but still need to test that.
   bool operator< (const FGAISchedule &other) const { return (score > other.score); };
+    void taint() { valid = false; };
   //void * getAiRef                 () { return AIManagerRef; };
   //FGAISchedule* getAddress        () { return this;};