// Load up models at the start to avoid pausing later
// Hack alert - Hardwired paths!!
- string planepath = "Aircraft/c172/Models/c172-dpm.ac";
+ string planepath = "Aircraft/c172r/Models/c172-dpm.ac";
bool _loadedDefaultOK = true;
try {
_defaultModel = sgLoad3DModel( globals->get_fg_root(),
f_ident = file.substr(0, pos);
FGAirport a;
if(dclFindAirportID(f_ident, &a)) {
- SGBucket sgb(a._longitude, a._latitude);
+ SGBucket sgb(a.getLongitude(), a.getLatitude());
int idx = sgb.gen_index();
if(facilities.find(idx) != facilities.end()) {
facilities[idx]->push_back(f_ident);