aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-08 20:23:54 -0500
committerPaul Gilbert2015-01-08 20:23:54 -0500
commit03952cd9d353c4af393da7ffeb524bcdb5746f34 (patch)
tree3d41ccdf88c4a4522b7f6854d24dae1b044b822b
parentf9414fe5259547b6499d9fb8ccb54bdc0bebb0ed (diff)
downloadscummvm-rg350-03952cd9d353c4af393da7ffeb524bcdb5746f34.tar.gz
scummvm-rg350-03952cd9d353c4af393da7ffeb524bcdb5746f34.tar.bz2
scummvm-rg350-03952cd9d353c4af393da7ffeb524bcdb5746f34.zip
XEEN: Fix to load correct default savegame
-rw-r--r--engines/xeen/saves.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/saves.cpp b/engines/xeen/saves.cpp
index 404e3492a2..e6bfa80e09 100644
--- a/engines/xeen/saves.cpp
+++ b/engines/xeen/saves.cpp
@@ -99,7 +99,7 @@ void SavesManager::load(Common::SeekableReadStream *stream) {
* Sets up the dynamic data for the game for a new game
*/
void SavesManager::reset() {
- Common::String prefix = _vm->getGameID() == GType_Clouds ? "xeen|" : "dark|";
+ Common::String prefix = _vm->getGameID() != GType_DarkSide ? "xeen|" : "dark|";
Common::MemoryWriteStreamDynamic saveFile(DisposeAfterUse::YES);
Common::File fIn;