GUI: Added sanity check
This commit is contained in:
parent
3199a5e107
commit
6fcc39810e
1 changed files with 3 additions and 0 deletions
|
@ -77,6 +77,9 @@ Common::String SaveLoadChooser::createDefaultSaveDescription(const int slot) con
|
|||
|
||||
int SaveLoadChooser::runModalWithCurrentTarget() {
|
||||
const Plugin *plugin = EngineMan.findPlugin(ConfMan.get("engineid"));
|
||||
if (!plugin) {
|
||||
error("SaveLoadChooser::runModalWithCurrentTarget(): Cannot find plugin");
|
||||
}
|
||||
return runModalWithPluginAndTarget(plugin, ConfMan.getActiveDomainName());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue