aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/tinsel.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2008-12-20 23:11:56 +0000
committerJohannes Schickel2008-12-20 23:11:56 +0000
commitc3041ad99b9e6bf87de7d16defb5b5a255f44745 (patch)
tree5b95e8aee74672922312f0a2b6087b9d1bf8b2d6 /engines/tinsel/tinsel.cpp
parent34368e5650c81cd52ae20d91d475be979359cfe3 (diff)
downloadscummvm-rg350-c3041ad99b9e6bf87de7d16defb5b5a255f44745.tar.gz
scummvm-rg350-c3041ad99b9e6bf87de7d16defb5b5a255f44745.tar.bz2
scummvm-rg350-c3041ad99b9e6bf87de7d16defb5b5a255f44745.zip
Implemented support for loading saves from launcher / via command line.
svn-id: r35454
Diffstat (limited to 'engines/tinsel/tinsel.cpp')
-rw-r--r--engines/tinsel/tinsel.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/tinsel/tinsel.cpp b/engines/tinsel/tinsel.cpp
index a7906a3ed1..e9bd50e142 100644
--- a/engines/tinsel/tinsel.cpp
+++ b/engines/tinsel/tinsel.cpp
@@ -991,13 +991,9 @@ Common::Error TinselEngine::go() {
//dumpMusic(); // dumps all of the game's music in external XMIDI files
-#if 0
// Load game from specified slot, if any
- // FIXME: Not working correctly right now
- if (ConfMan.hasKey("save_slot")) {
- RestoreGame(ConfMan.getInt("save_slot"), true);
- }
-#endif
+ if (ConfMan.hasKey("save_slot"))
+ loadGameState(ConfMan.getInt("save_slot"));
// Foreground loop