Skip to content

Commit

Permalink
consolidated BPFV code
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinRusk committed Jun 4, 2022
1 parent 3da52e8 commit 08641ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion html/flags.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ let ICAO_Ranges = [
// Mostly generated from the assignment table in the appendix to Chapter 9 of
// Annex 10 Vol III, Second Edition, July 2007 (with amendments through 88-A, 14/11/2013)

{ start: 0x000000, end: 0x000000, country: "BPFV", flag_image: "Germany_bpfv.png" },
{ start: 0x004000, end: 0x0043FF, country: "Zimbabwe", flag_image: "Zimbabwe.png" },
{ start: 0x006000, end: 0x006FFF, country: "Mozambique", flag_image: "Mozambique.png" },
{ start: 0x008000, end: 0x00FFFF, country: "South Africa", flag_image: "South_Africa.png" },
Expand Down
2 changes: 1 addition & 1 deletion html/planeObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function PlaneObject(icao) {
this.icao === '3d2580' )) // LK
{
this.bpfvPlane = true;
this.icaorange = ICAO_Ranges[0];
this.icaorange = { start: 0x000000, end: 0x000000, country: "BPFV", flag_image: "Germany_bpfv.png" };
} else {
this.bpfvPlane = false;
this.icaorange = findICAORange(icao);
Expand Down

0 comments on commit 08641ed

Please sign in to comment.