diff options
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r-- | gui/launcher.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 63d3ba6954..2592eecd97 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -922,7 +922,12 @@ void LauncherDialog::loadGame(int item) { gameId = _domains[item]; const EnginePlugin *plugin = 0; + +#if defined(ONE_PLUGIN_AT_A_TIME) && defined(DYNAMIC_MODULES) + EngineMan.findGameOnePlugAtATime(gameId, &plugin); +#else EngineMan.findGame(gameId, &plugin); +#endif String target = _domains[item]; target.toLowercase(); |