]> git.mxchange.org Git - flightgear.git/commitdiff
there's no such thing as /sim/time/elapsed-ms --> elapsed-sec
authormfranz <mfranz>
Tue, 10 May 2005 09:29:24 +0000 (09:29 +0000)
committermfranz <mfranz>
Tue, 10 May 2005 09:29:24 +0000 (09:29 +0000)
src/ATC/approach.cxx
src/ATC/approach.hxx

index a08f571b5112493bf45a033863d2478a512e5499..19d6f1d260a709458a06d5dad7dca48edc34200d 100644 (file)
@@ -47,7 +47,7 @@ FGApproach::FGApproach(){
   elev_node  = fgGetNode("/position/altitude-ft", true);
   hdg_node   = fgGetNode("/orientation/heading-deg", true);
   speed_node = fgGetNode("/velocities/airspeed-kt", true);
-  etime_node = fgGetNode("/sim/time/elapsed-ms", true);
+  etime_node = fgGetNode("/sim/time/elapsed-sec", true);
 
   first = true;
   active_runway = "";
index 29d349060ab8c5da40a9ec63a71e56b19be8f690..41e32f22ad9458093197a7d27a1d82f4cabe6b90 100644 (file)
@@ -61,7 +61,7 @@ SG_USING_STD(string);
 const int    max_planes = 20;  // max number of planes on the stack
 const int    max_wp = 10;      // max number of waypoints for approach phase
 const double max_ta = 130;     // max turning angle for plane during approach
-const double tbm    = 20000.0; // min time (in ms) between two messages
+const double tbm    = 2.0;     // min time (in sec) between two messages
 const double lfl    = 10.0;    // length of final leg
 
 struct PlaneApp {