Reset: adjust for tweaked TerraSync API
This commit is contained in:
parent
af40bcb60e
commit
44246d7708
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue