diff options
author | Matthew Hoops | 2015-02-22 16:49:00 -0500 |
---|---|---|
committer | Matthew Hoops | 2015-02-22 16:49:29 -0500 |
commit | bab1afa6ccd5f9d3c53dfa494145cbd947ffcde2 (patch) | |
tree | 0eb70ba9944ae0a1ec210fd457b76b63c09ce8ee /base | |
parent | 877474cd327c1fab98c296b4786f3c98b9c93714 (diff) | |
download | scummvm-rg350-bab1afa6ccd5f9d3c53dfa494145cbd947ffcde2.tar.gz scummvm-rg350-bab1afa6ccd5f9d3c53dfa494145cbd947ffcde2.tar.bz2 scummvm-rg350-bab1afa6ccd5f9d3c53dfa494145cbd947ffcde2.zip |
BASE: Fix infinite loop upon trying to play a game and not finding the engine
A regression from f74ba29753de23bad9a07f531fc4c03ea3375594
Diffstat (limited to 'base')
-rw-r--r-- | base/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/main.cpp b/base/main.cpp index 0f5ebc7845..3ea38b547a 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -552,6 +552,9 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) { PluginManager::instance().loadAllPlugins(); // only for cached manager } else { GUI::displayErrorDialog(_("Could not find any engine capable of running the selected game")); + + // Clear the active domain + ConfMan.setActiveDomain(""); } // reset the graphics to default |