1
0
Fork 0

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:
James Turner 2022-01-14 07:56:21 +01:00
parent d59db8ea54
commit 3cd0a3d002

View file

@ -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);
}