diff options
Diffstat (limited to 'src/ingen')
-rw-r--r-- | src/ingen/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp index 647aa9dd..3ead6146 100644 --- a/src/ingen/main.cpp +++ b/src/ingen/main.cpp @@ -189,10 +189,11 @@ main(int argc, char** argv) /* If we don't have a local engine interface (for GUI), use network */ if (client_module && ! engine_interface) { - SharedPtr<Shared::EngineInterface> (*new_remote_interface)(const std::string&) = NULL; + SharedPtr<Shared::EngineInterface> (*new_remote_interface) + (Ingen::Shared::World*, const std::string&) = NULL; if (client_module->get_symbol("new_remote_interface", (void*&)new_remote_interface)) { - engine_interface = new_remote_interface(args.connect_arg); + engine_interface = new_remote_interface(world, args.connect_arg); } else { cerr << "Unable to find symbol 'new_remote_interface' in " "ingen_client module, aborting." << endl; |