diff options
-rw-r--r-- | engines/wintermute/base/base_game.cpp | 6 | ||||
-rw-r--r-- | engines/wintermute/base/base_game.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/wintermute/base/base_game.cpp b/engines/wintermute/base/base_game.cpp index 8ef45e4106..6897a37776 100644 --- a/engines/wintermute/base/base_game.cpp +++ b/engines/wintermute/base/base_game.cpp @@ -1513,7 +1513,7 @@ bool BaseGame::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack char *desc = new char[strlen(xdesc) + 1];
strcpy(desc, xdesc);
stack->pushBool(true);
- if (DID_FAIL(SaveGame(slot, desc, quick))) {
+ if (DID_FAIL(saveGame(slot, desc, quick))) {
stack->pop();
stack->pushBool(false);
}
@@ -3157,7 +3157,7 @@ bool BaseGame::showCursor() { //////////////////////////////////////////////////////////////////////////
-bool BaseGame::SaveGame(int slot, const char *desc, bool quickSave) {
+bool BaseGame::saveGame(int slot, const char *desc, bool quickSave) {
char filename[MAX_PATH_LENGTH + 1];
getSaveSlotFilename(slot, filename);
@@ -4458,7 +4458,7 @@ void BaseGame::autoSaveOnExit() { if (!_autoSaveOnExit) return;
if (_state == GAME_FROZEN) return;
- SaveGame(_autoSaveSlot, "autosave", true);
+ saveGame(_autoSaveSlot, "autosave", true);
}
//////////////////////////////////////////////////////////////////////////
diff --git a/engines/wintermute/base/base_game.h b/engines/wintermute/base/base_game.h index 77fa6b3a8b..4a5adb4e39 100644 --- a/engines/wintermute/base/base_game.h +++ b/engines/wintermute/base/base_game.h @@ -296,7 +296,7 @@ public: virtual bool cleanup();
virtual bool loadGame(int slot);
virtual bool loadGame(const char *filename);
- virtual bool SaveGame(int slot, const char *desc, bool quickSave = false);
+ virtual bool saveGame(int slot, const char *desc, bool quickSave = false);
virtual bool showCursor();
BaseSprite *_cursorNoninteractive;
|