aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorMatthew Hoops2015-02-22 16:49:00 -0500
committerMatthew Hoops2015-02-22 16:49:29 -0500
commitbab1afa6ccd5f9d3c53dfa494145cbd947ffcde2 (patch)
tree0eb70ba9944ae0a1ec210fd457b76b63c09ce8ee /base
parent877474cd327c1fab98c296b4786f3c98b9c93714 (diff)
downloadscummvm-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.cpp3
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