aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven.cpp
diff options
context:
space:
mode:
authorMax Horn2011-02-07 22:58:22 +0000
committerMax Horn2011-02-07 22:58:22 +0000
commit41121be4d6fecbc727897471e0ceed1fd4c76bd7 (patch)
tree08ad9d64eb68bc039cc70e29092592cd8f446526 /engines/mohawk/riven.cpp
parent85aabef6fe370766fa52ba92a7cf63c558bac772 (diff)
downloadscummvm-rg350-41121be4d6fecbc727897471e0ceed1fd4c76bd7.tar.gz
scummvm-rg350-41121be4d6fecbc727897471e0ceed1fd4c76bd7.tar.bz2
scummvm-rg350-41121be4d6fecbc727897471e0ceed1fd4c76bd7.zip
GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTarget
This avoids hiding an overloaded virtual method, which in turn can cause weird bugs (see also the next commit). svn-id: r55815
Diffstat (limited to 'engines/mohawk/riven.cpp')
-rw-r--r--engines/mohawk/riven.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp
index 935ab4b45f..abc7f5304e 100644
--- a/engines/mohawk/riven.cpp
+++ b/engines/mohawk/riven.cpp
@@ -684,7 +684,7 @@ void MohawkEngine_Riven::runLoadDialog() {
const EnginePlugin *plugin = 0;
EngineMan.findGame(gameId, &plugin);
- int slot = slc.runModal(plugin, ConfMan.getActiveDomainName());
+ int slot = slc.runModalWithPluginAndTarget(plugin, ConfMan.getActiveDomainName());
if (slot >= 0)
loadGameState(slot);