From e23c5e49c963bbf6e2907ec023b66491af4ba7ed Mon Sep 17 00:00:00 2001 From: mfranz Date: Tue, 10 May 2005 09:29:24 +0000 Subject: [PATCH] there's no such thing as /sim/time/elapsed-ms --> elapsed-sec --- src/ATC/approach.cxx | 2 +- src/ATC/approach.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ATC/approach.cxx b/src/ATC/approach.cxx index a08f571b5..19d6f1d26 100644 --- a/src/ATC/approach.cxx +++ b/src/ATC/approach.cxx @@ -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 = ""; diff --git a/src/ATC/approach.hxx b/src/ATC/approach.hxx index 29d349060..41e32f22a 100644 --- a/src/ATC/approach.hxx +++ b/src/ATC/approach.hxx @@ -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 {