diff options
Diffstat (limited to 'src/modmanager_static.cpp')
-rw-r--r-- | src/modmanager_static.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modmanager_static.cpp b/src/modmanager_static.cpp index d9ee07a25..ee9dc2107 100644 --- a/src/modmanager_static.cpp +++ b/src/modmanager_static.cpp @@ -58,7 +58,7 @@ class AllModule : public Module MODULE_INIT(AllModule) -bool ModuleManager::Load(const char* name) +bool ModuleManager::Load(const std::string& name, bool) { for(std::vector<AllModuleList*>::iterator i = modlist->begin(); i != modlist->end(); ++i) { @@ -145,7 +145,6 @@ void ModuleManager::LoadAll() c->ModuleDLLManager = NULL; Modules[(**i).name] = c; c->init(); - FOREACH_MOD(I_OnLoadModule,OnLoadModule(c)); } catch (CoreException& modexcept) { @@ -177,7 +176,6 @@ void ModuleManager::LoadAll() void ModuleManager::UnloadAll() { - // TODO don't really need this, who cares if we leak on exit? } #endif |