From 71c8889cbfa9685d3af4a38b9acd1e903fd5bb08 Mon Sep 17 00:00:00 2001 From: daveluff Date: Tue, 21 Mar 2006 23:33:54 +0000 Subject: [PATCH] This innocuous looking typo was crashing the sim whenever an AI plane was asked to follow the user whilst the user was flying a circuit (non straight-in) approach --- src/ATC/tower.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ATC/tower.cxx b/src/ATC/tower.cxx index 49395a09c..adb8aee50 100644 --- a/src/ATC/tower.cxx +++ b/src/ATC/tower.cxx @@ -658,7 +658,7 @@ void FGTower::ProcessDownwindReport(TowerPlaneRec* t) { trns += s; if((tt->opType) == CIRCUIT) { PatternLeg leg; - if(t->isUser) { + if(tt->isUser) { leg = tt->leg; } else { leg = tt->planePtr->GetLeg(); -- 2.39.5