From 6e09d35090ab1fa600c5fe1e2f2006ffb0e9c131 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 8 Oct 2003 22:10:59 +0000 Subject: turned PluginManager into a proper singleton svn-id: r10688 --- gui/launcher.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gui') diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 743e37bb09..2520028d43 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -281,8 +281,7 @@ GameList findGame(FilesystemNode *dir) { // Iterate over all known games and for each check if it might be // the game in the presented directory. - assert(g_pluginManager); - const PluginList &plugins = g_pluginManager->getPlugins(); + const PluginList &plugins = PluginManager::instance().getPlugins(); int p; for (p = 0; p < plugins.size(); p++) { const TargetSettings *v = plugins[p]->getTargets(); -- cgit v1.2.3