diff options
Diffstat (limited to 'engines/mads/mads.cpp')
-rw-r--r-- | engines/mads/mads.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/mads/mads.cpp b/engines/mads/mads.cpp index a099f5904e..9587efa443 100644 --- a/engines/mads/mads.cpp +++ b/engines/mads/mads.cpp @@ -124,13 +124,13 @@ int MADSEngine::hypotenuse(int xv, int yv) { bool MADSEngine::canLoadGameStateCurrently() { return !_game->_winStatus && !_game->globals()[5] && _dialogs->_pendingDialog == DIALOG_NONE - && _events->_cursorId == CURSOR_ARROW; + && _events->_cursorId != CURSOR_WAIT; } bool MADSEngine::canSaveGameStateCurrently() { return !_game->_winStatus && !_game->globals()[5] && _dialogs->_pendingDialog == DIALOG_NONE - && _events->_cursorId == CURSOR_ARROW; + && _events->_cursorId != CURSOR_WAIT; } /** @@ -142,7 +142,9 @@ Common::String MADSEngine::generateSaveName(int slot) { } Common::Error MADSEngine::loadGameState(int slot) { - _game->loadGame(slot); + _game->_loadGameSlot = slot; + _game->_scene._currentSceneId = -1; + _game->_currentSectionNumber = -1; return Common::kNoError; } |