aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/file.cpp')
-rw-r--r--engines/hugo/file.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/file.cpp b/engines/hugo/file.cpp
index b17d3c9c6a..09d0272519 100644
--- a/engines/hugo/file.cpp
+++ b/engines/hugo/file.cpp
@@ -308,7 +308,7 @@ bool FileManager::saveGame(const int16 slot, const Common::String descrip) {
if (slot == -1) {
GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser("Save game:", "Save");
dialog->setSaveMode(true);
- savegameId = dialog->runModal(plugin, ConfMan.getActiveDomainName());
+ savegameId = dialog->runModalWithPluginAndTarget(plugin, ConfMan.getActiveDomainName());
savegameDescription = dialog->getResultString();
delete dialog;
} else {
@@ -422,7 +422,7 @@ bool FileManager::restoreGame(const int16 slot) {
if (slot == -1) {
GUI::SaveLoadChooser *dialog = new GUI::SaveLoadChooser("Restore game:", "Restore");
dialog->setSaveMode(false);
- savegameId = dialog->runModal(plugin, ConfMan.getActiveDomainName());
+ savegameId = dialog->runModalWithPluginAndTarget(plugin, ConfMan.getActiveDomainName());
delete dialog;
} else {
savegameId = slot;