diff options
author | Arnaud Boutonné | 2010-11-29 17:42:08 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-11-29 17:42:08 +0000 |
commit | 45f55128b1c811bd2824e0acfbd5801fc78a2256 (patch) | |
tree | d1cc851ea4b8db2ee0a7fbbb0e3bc40fcd6082af /engines/hugo/parser.cpp | |
parent | 4bed2b3ff588452ed754d0758bf9b1b0df0e8c92 (diff) | |
download | scummvm-rg350-45f55128b1c811bd2824e0acfbd5801fc78a2256.tar.gz scummvm-rg350-45f55128b1c811bd2824e0acfbd5801fc78a2256.tar.bz2 scummvm-rg350-45f55128b1c811bd2824e0acfbd5801fc78a2256.zip |
HUGO: Add GMM save/load and RTL
svn-id: r54576
Diffstat (limited to 'engines/hugo/parser.cpp')
-rw-r--r-- | engines/hugo/parser.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/hugo/parser.cpp b/engines/hugo/parser.cpp index f23427e690..19d496dfd4 100644 --- a/engines/hugo/parser.cpp +++ b/engines/hugo/parser.cpp @@ -100,13 +100,11 @@ void Parser::keyHandler(uint16 nChar, uint16 nFlags) { gameStatus.recallFl = true; break; case Common::KEYCODE_F4: // Save game - // TODO: Add a proper screen to select saveslot if (gameStatus.viewState == V_PLAY) - _vm->_file->saveGame(gameStatus.saveSlot, "Current game"); + _vm->_file->saveGame(-1, Common::String()); break; case Common::KEYCODE_F5: // Restore game - // TODO: Add a proper screen to specify saveslot and description - _vm->_file->restoreGame(gameStatus.saveSlot); + _vm->_file->restoreGame(-1); _vm->_scheduler->restoreScreen(*_vm->_screen_p); gameStatus.viewState = V_PLAY; break; |