]> git.mxchange.org Git - flightgear.git/blobdiff - src/Traffic/SchedFlight.cxx
- Added ultra-light traffic is now a separate traffic class that can have its
[flightgear.git] / src / Traffic / SchedFlight.cxx
index a66915a1e0831069d2772ada688ab00c2560bef9..52661664d4924368d76da665792e43c9dc8d03a2 100644 (file)
@@ -127,8 +127,9 @@ FGScheduledFlight::FGScheduledFlight(const string& cs,
     }
   else
     {
-      cerr << "Unknown repeat period" << endl;
-      exit(1);
+      repeatPeriod = 365*24*60*60;
+      SG_LOG( SG_GENERAL, SG_ALERT, "Unknown repeat period in flight plan "
+                                    "of flight '" << cs << "': " << rep );
     }
 
   // What we still need to do is preprocess the departure and