[Scummvm-git-logs] scummvm master -> b7f7159f8f20615221443e77c5bc586ae43ff161

dreammaster dreammaster at scummvm.org
Sat Mar 17 20:30:53 CET 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
b7f7159f8f XEEN: Fix incorrect showing of 'you are tired' dialogs after loading savegame from launcher


Commit: b7f7159f8f20615221443e77c5bc586ae43ff161
    https://github.com/scummvm/scummvm/commit/b7f7159f8f20615221443e77c5bc586ae43ff161
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-03-17T15:30:49-04:00

Commit Message:
XEEN: Fix incorrect showing of 'you are tired' dialogs after loading savegame from launcher

Changed paths:
    engines/xeen/party.cpp


diff --git a/engines/xeen/party.cpp b/engines/xeen/party.cpp
index 3f0cdf0..2a06bf3 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() {





More information about the Scummvm-git-logs mailing list