From 212b58ad429718bcb0366541a413fc52db25f615 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Mon, 7 Mar 2011 16:27:58 -0500 Subject: MOHAWK: Remove unused runLoadDialog() function --- engines/mohawk/myst.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'engines/mohawk/myst.cpp') diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp index f842269893..1aba820fed 100644 --- a/engines/mohawk/myst.cpp +++ b/engines/mohawk/myst.cpp @@ -1143,20 +1143,6 @@ void MohawkEngine_Myst::loadResources() { delete rlstStream; } -void MohawkEngine_Myst::runLoadDialog() { - const Common::String gameId = ConfMan.get("gameid"); - - const EnginePlugin *plugin = 0; - EngineMan.findGame(gameId, &plugin); - - pauseEngine(true); - int slot = _loadDialog->runModalWithPluginAndTarget(plugin, ConfMan.getActiveDomainName()); - if (slot >= 0) { - // TODO - } - pauseEngine(false); -} - Common::Error MohawkEngine_Myst::loadGameState(int slot) { if (_gameState->load(_gameState->generateSaveGameList()[slot])) return Common::kNoError; -- cgit v1.2.3