diff options
author | Gregory Montoir | 2004-11-30 21:01:25 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-11-30 21:01:25 +0000 |
commit | f2fb63ffd9b32a21d985b8e41cc272edec8f0f50 (patch) | |
tree | 4a7f21034784f54cc5652ec0db3e4ffd3abf1643 /queen/queen.cpp | |
parent | be58f22feb25ab840282fd38517c6c48db1b6c01 (diff) | |
download | scummvm-rg350-f2fb63ffd9b32a21d985b8e41cc272edec8f0f50.tar.gz scummvm-rg350-f2fb63ffd9b32a21d985b8e41cc272edec8f0f50.tar.bz2 scummvm-rg350-f2fb63ffd9b32a21d985b8e41cc272edec8f0f50.zip |
enabled savegame loading on startup
svn-id: r15964
Diffstat (limited to 'queen/queen.cpp')
-rw-r--r-- | queen/queen.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/queen/queen.cpp b/queen/queen.cpp index 54074c00ee..93ba371edc 100644 --- a/queen/queen.cpp +++ b/queen/queen.cpp @@ -290,6 +290,9 @@ void QueenEngine::errorString(const char *buf1, char *buf2) { int QueenEngine::go() { _logic->start(); + if (ConfMan.hasKey("save_slot") && !(_resource->isDemo() || _resource->isInterview())) { + loadGameState(ConfMan.getInt("save_slot")); + } _quit = false; while (!_quit) { // queen.c lines 4080-4104 |