From 033241eb434ff4916c140885a6cda84a593406d5 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 19 May 2015 09:19:42 -0400 Subject: SHERLOCK: Corrected incorrect method name in SaveManager --- engines/sherlock/saveload.cpp | 2 +- engines/sherlock/saveload.h | 4 ++-- engines/sherlock/user_interface.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'engines/sherlock') diff --git a/engines/sherlock/saveload.cpp b/engines/sherlock/saveload.cpp index 5033a3b16d..3c8f3e4f60 100644 --- a/engines/sherlock/saveload.cpp +++ b/engines/sherlock/saveload.cpp @@ -386,7 +386,7 @@ bool SaveManager::checkGameOnScreen(int slot) { return false; } -bool SaveManager::promptForFilename(int slot) { +bool SaveManager::promptForDescription(int slot) { Events &events = *_vm->_events; Scene &scene = *_vm->_scene; Screen &screen = *_vm->_screen; diff --git a/engines/sherlock/saveload.h b/engines/sherlock/saveload.h index 07626a2082..a86d5be035 100644 --- a/engines/sherlock/saveload.h +++ b/engines/sherlock/saveload.h @@ -131,9 +131,9 @@ public: bool checkGameOnScreen(int slot); /** - * Prompts the user to enter a filename in a given slot + * Prompts the user to enter a description in a given slot */ - bool promptForFilename(int slot); + bool promptForDescription(int slot); }; } // End of namespace Sherlock diff --git a/engines/sherlock/user_interface.cpp b/engines/sherlock/user_interface.cpp index d36be4ed76..7ac44ee99e 100644 --- a/engines/sherlock/user_interface.cpp +++ b/engines/sherlock/user_interface.cpp @@ -783,7 +783,7 @@ void UserInterface::doEnvControl() { if (saves.checkGameOnScreen(_selector)) _oldSelector = _selector; - if (saves.promptForFilename(_selector)) { + if (saves.promptForDescription(_selector)) { saves.saveGame(_selector + 1, saves._savegames[_selector]); banishWindow(1); @@ -954,7 +954,7 @@ void UserInterface::doEnvControl() { if (saves.checkGameOnScreen(_selector)) _oldSelector = _selector; - if (saves.promptForFilename(_selector)) { + if (saves.promptForDescription(_selector)) { saves.saveGame(_selector + 1, saves._savegames[_selector]); banishWindow(); _windowBounds.top = CONTROLS_Y1; -- cgit v1.2.3