From: daveluff Date: Tue, 21 Mar 2006 23:33:54 +0000 (+0000) Subject: This innocuous looking typo was crashing the sim whenever an AI plane was asked to... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=71c8889cbfa9685d3af4a38b9acd1e903fd5bb08;p=flightgear.git 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 --- 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();