1
0
Fork 0

Reset: adjust for tweaked TerraSync API

This commit is contained in:
James Turner 2013-11-12 23:10:19 +00:00
parent af40bcb60e
commit 44246d7708

View file

@ -143,7 +143,8 @@ static void fgIdleFunction ( void ) {
fgSetString("/sim/terrasync/cache-path", tsyncCache.c_str());
simgear::SGTerraSync* terra_sync = new simgear::SGTerraSync(globals->get_props());
simgear::SGTerraSync* terra_sync = new simgear::SGTerraSync();
terra_sync->setRoot(globals->get_props());
globals->add_subsystem("terrasync", terra_sync);