SHERLOCK: Corrected incorrect method name in SaveManager

This commit is contained in:
Paul Gilbert 2015-05-19 09:19:42 -04:00
parent 06b39671e3
commit 033241eb43
3 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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

View File

@ -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;