From 41121be4d6fecbc727897471e0ceed1fd4c76bd7 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 7 Feb 2011 22:58:22 +0000 Subject: 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 --- engines/mohawk/riven.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/mohawk') 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); -- cgit v1.2.3