Apt.dat runyway loading: fix a typo
Jonathan R spotted this typo, which means the distance_remaining field was always NULL.
This commit is contained in:
parent
d59db8ea54
commit
3cd0a3d002
1 changed files with 1 additions and 1 deletions
|
@ -2097,7 +2097,7 @@ NavDataCache::insertRunway(FGPositioned::Type ty, const string& ident,
|
|||
sqlite3_bind_double(d->insertRunway, 13, smoothness);
|
||||
sqlite3_bind_int(d->insertRunway, 14, center_lights);
|
||||
sqlite3_bind_int(d->insertRunway, 15, edge_lights);
|
||||
sqlite3_bind_int(d->insertRunway, 116, distance_remaining);
|
||||
sqlite3_bind_int(d->insertRunway, 16, distance_remaining);
|
||||
|
||||
return d->execInsert(d->insertRunway);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue