Skip to content

Commit

Permalink
fix: send correct location for runway symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
tracernz committed Jul 30, 2023
1 parent c016431 commit 70958fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fbw-a32nx/src/systems/fmgc/src/efis/EfisSymbols.ts
Original file line number Diff line number Diff line change
Expand Up @@ -634,11 +634,11 @@ export class EfisSymbols {
const databaseId = `A${airport.ident}${(planAltnStr)}${planIndexStr}${runwayIdentStr}`;

if (runway) {
if (withinEditArea(runway.thresholdLocation)) {
if (withinEditArea(runway.startLocation)) {
ret.push({
databaseId,
ident: NavigationDatabase.formatLongRunwayIdent(airport.ident, runway.ident),
location: runway.thresholdLocation,
location: runway.startLocation,
direction: runway.bearing,
length: runway.length / MathUtils.DIV_METRES_TO_NAUTICAL_MILES,
type: NdSymbolTypeFlags.Runway,
Expand Down

0 comments on commit 70958fb

Please sign in to comment.