1
0
Fork 0

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

This commit is contained in:
daveluff 2006-03-21 23:33:54 +00:00
parent b22e2dfdce
commit 71c8889cbf

View file

@ -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();