aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-27 03:11:26 +0200
committerEinar Johan Trøan Sømåen2012-07-27 03:11:26 +0200
commitefee8c01ceded526406a3ad6ffc2dc1c078c2ce2 (patch)
tree5b1f68e1c70182045ed95be61c25ec160d862463 /engines
parentbb131aaa072d1d75e7d1c0a5f6f0ef3614fc8eb7 (diff)
downloadscummvm-rg350-efee8c01ceded526406a3ad6ffc2dc1c078c2ce2.tar.gz
scummvm-rg350-efee8c01ceded526406a3ad6ffc2dc1c078c2ce2.tar.bz2
scummvm-rg350-efee8c01ceded526406a3ad6ffc2dc1c078c2ce2.zip
WINTERMUTE: Fix loading from launcher.
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/wintermute.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/wintermute/wintermute.cpp b/engines/wintermute/wintermute.cpp
index 21ee65b832..8bf83cc0f6 100644
--- a/engines/wintermute/wintermute.cpp
+++ b/engines/wintermute/wintermute.cpp
@@ -262,8 +262,7 @@ int WinterMuteEngine::init() {
if (ConfMan.hasKey("save_slot")) {
int slot = ConfMan.getInt("save_slot");
- Common::String str = Common::String::format("save00%d.DirtySplitSav", slot);
- _game->loadGame(str.c_str());
+ _game->loadGame(slot);
}
if (saveGame) {