diff options
author | Paul Gilbert | 2018-02-24 21:18:07 -0500 |
---|---|---|
committer | Paul Gilbert | 2018-02-24 21:18:07 -0500 |
commit | da65468c474258eab62ca82191a85d9a4274a23f (patch) | |
tree | 5e83e5d0d3b6f802b0d1e5875ed0ad431fada313 | |
parent | 72e540e203a0fa6c1fbf8c05860d375e4bae094e (diff) | |
download | scummvm-rg350-da65468c474258eab62ca82191a85d9a4274a23f.tar.gz scummvm-rg350-da65468c474258eab62ca82191a85d9a4274a23f.tar.bz2 scummvm-rg350-da65468c474258eab62ca82191a85d9a4274a23f.zip |
XEEN: Set correct starting date for each game
-rw-r--r-- | engines/xeen/saves.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/engines/xeen/saves.cpp b/engines/xeen/saves.cpp index 27819fda0a..828d1ea829 100644 --- a/engines/xeen/saves.cpp +++ b/engines/xeen/saves.cpp @@ -55,8 +55,20 @@ SavesManager::SavesManager(const Common::String &targetName): _targetName(target // Set any final initial values Party &party = *g_vm->_party; party.resetBlacksmithWares(); - party._year = g_vm->getGameID() == GType_WorldOfXeen ? 610 : 850; party._totalTime = 0; + + switch (g_vm->getGameID()) { + case GType_Swords: + party._year = 1050; + break; + case GType_DarkSide: + party._year = 850; + break; + default: + party._year = 610; + break; + } + party._day = 1; } SavesManager::~SavesManager() { |