mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-06 01:31:39 +00:00
SHERLOCK: Corrected incorrect method name in SaveManager
This commit is contained in:
parent
06b39671e3
commit
033241eb43
engines/sherlock
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user