--- src/Traffic/Schedule.cxx | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/Traffic/Schedule.cxx b/src/Traffic/Schedule.cxx index 789631b..05e4eda 100644 --- a/src/Traffic/Schedule.cxx +++ b/src/Traffic/Schedule.cxx @@ -196,7 +196,6 @@ bool FGAISchedule::update(time_t now, const SGVec3d& userCart) time_t totalTimeEnroute, elapsedTimeEnroute, - remainingTimeEnroute, deptime = 0; if (!valid) { return false; @@ -259,7 +258,6 @@ bool FGAISchedule::update(time_t now, const SGVec3d& userCart) totalTimeEnroute = flight->getArrivalTime() - flight->getDepartureTime(); if (flight->getDepartureTime() < now) { elapsedTimeEnroute = now - flight->getDepartureTime(); - remainingTimeEnroute = totalTimeEnroute - elapsedTimeEnroute; double x = elapsedTimeEnroute / (double) totalTimeEnroute; // current pos is based on great-circle course between departure/arrival, @@ -275,7 +273,6 @@ bool FGAISchedule::update(time_t now, const SGVec3d& userCart) speed = ((distanceM - coveredDistance) * SG_METER_TO_NM) / 3600.0; } else { // not departed yet - remainingTimeEnroute = totalTimeEnroute; elapsedTimeEnroute = 0; position = dep->geod(); SG_LOG (SG_GENERAL, SG_BULK, "Traffic Manager: Flight is pending, departure in " @@ -283,7 +280,6 @@ bool FGAISchedule::update(time_t now, const SGVec3d& userCart) } } else { // departure / arrival coincident - remainingTimeEnroute = totalTimeEnroute = 0.0; elapsedTimeEnroute = 0; position = dep->geod(); } -- 1.7.5.4 ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel