diff options
author | Paul Gilbert | 2018-03-17 15:30:49 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-03-17 15:30:49 -0400 |
commit | b7f7159f8f20615221443e77c5bc586ae43ff161 (patch) | |
tree | 7621945c23e30f0e8ceff863495f27c33e31a8ed | |
parent | 9ef97cd265172cabf69ec8dbfcbdc3c5a370a50e (diff) | |
download | scummvm-rg350-b7f7159f8f20615221443e77c5bc586ae43ff161.tar.gz scummvm-rg350-b7f7159f8f20615221443e77c5bc586ae43ff161.tar.bz2 scummvm-rg350-b7f7159f8f20615221443e77c5bc586ae43ff161.zip |
XEEN: Fix incorrect showing of 'you are tired' dialogs after loading savegame from launcher
-rw-r--r-- | engines/xeen/party.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/xeen/party.cpp b/engines/xeen/party.cpp index 3f0cdf0433..2a06bf3e49 100644 --- a/engines/xeen/party.cpp +++ b/engines/xeen/party.cpp @@ -324,6 +324,9 @@ void Party::synchronize(Common::Serializer &s) { for (int i = 0; i < TOTAL_CHARACTERS; ++i) File::syncBitFlags(s, &_characterFlags[i][0], &_characterFlags[i][24]); s.syncBytes(&dummy[0], 30); + + if (s.isLoading()) + _newDay = _minutes < 300; } void Party::loadActiveParty() { |