+ // If the scan-pull knob is out, draw one of the waypoints (if applicable).
+ if(fgGetBool("/instrumentation/kln89/scan-pull")) {
+ if(_kln89->_activeFP->waypoints.size()) {
+ //cout << "Need to draw a waypoint!\n";
+ _kln89->DrawLine(70, 0, 111, 0);
+ if(!_kln89->_blink) {
+ //_kln89->DrawMapQuad(45, 0, 97, 8, true);
+ if(!_scanWpSet) {
+ _scanWpIndex = _kln89->GetActiveWaypointIndex();
+ _scanWpSet = true;
+ }
+ _kln89->DrawMapText(_kln89->_activeFP->waypoints[_scanWpIndex]->id, 71, 0, true);
+ }
+ }
+ }