aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/hugo.cpp
diff options
context:
space:
mode:
authorstrangerke2011-03-08 00:19:30 +0100
committerstrangerke2011-03-08 00:21:02 +0100
commit9fb28410b5ea27fa8e79ac5f0ac4ce70ae4cf3c6 (patch)
tree29af1fe706e6883c07b582181452bb6650b64f6f /engines/hugo/hugo.cpp
parent905d5e76b463870fba69d6683c96ac93d6fda623 (diff)
downloadscummvm-rg350-9fb28410b5ea27fa8e79ac5f0ac4ce70ae4cf3c6.tar.gz
scummvm-rg350-9fb28410b5ea27fa8e79ac5f0ac4ce70ae4cf3c6.tar.bz2
scummvm-rg350-9fb28410b5ea27fa8e79ac5f0ac4ce70ae4cf3c6.zip
HUGO: Misc savegame modifications
- Add initial savegame on slot 0 - Save viewstate as it may now contain several different values when saving - Fix loading from GMM - Implement ctrl-N
Diffstat (limited to 'engines/hugo/hugo.cpp')
-rw-r--r--engines/hugo/hugo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/hugo.cpp b/engines/hugo/hugo.cpp
index 9a622290f9..231b2a5d51 100644
--- a/engines/hugo/hugo.cpp
+++ b/engines/hugo/hugo.cpp
@@ -259,8 +259,8 @@ Common::Error HugoEngine::run() {
if (loadSlot >= 0) {
_status.skipIntroFl = true;
_file->restoreGame(loadSlot);
- _scheduler->restoreScreen(*_screen_p);
- _status.viewState = kViewPlay;
+ } else {
+ _file->saveGame(0, "New Game");
}
while (!_status.doQuitFl) {