Fix gen_phonebook.pl for airport at negative altitude
This commit is contained in:
parent
1b6ec7d149
commit
95679e6d76
1 changed files with 1 additions and 1 deletions
2
utils/fgcom/utils/gen_phonebook.pl
Normal file → Executable file
2
utils/fgcom/utils/gen_phonebook.pl
Normal file → Executable file
|
@ -281,7 +281,7 @@ if ($fh->open($FG_AIRPORTS, "r")) {
|
|||
$hadlines = 0;
|
||||
next;
|
||||
}
|
||||
elsif ($z=~/^1\s+\d+\s+[01]\s+[01]\s+([A-Z0-9]+)\s+(.+)\s*$/)
|
||||
elsif ($z=~/^1\s+-?\d+\s+[01]\s+[01]\s+([A-Z0-9]+)\s+(.+)\s*$/)
|
||||
{
|
||||
# Airport Header
|
||||
$icao = $1;
|
||||
|
|
Loading…
Add table
Reference in a new issue