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

dreammaster dreammaster at scummvm.org
Sat Jun 17 22:43:56 CEST 2017


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:
a1b4b017f8 TITANIC: Further fix for tracking total play time


Commit: a1b4b017f8afaa634c4e802b0545739d4f2da95b
    https://github.com/scummvm/scummvm/commit/a1b4b017f8afaa634c4e802b0545739d4f2da95b
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-06-17T16:43:44-04:00

Commit Message:
TITANIC: Further fix for tracking total play time

Changed paths:
    engines/titanic/core/project_item.cpp


diff --git a/engines/titanic/core/project_item.cpp b/engines/titanic/core/project_item.cpp
index 205eecf..5a530a8 100644
--- a/engines/titanic/core/project_item.cpp
+++ b/engines/titanic/core/project_item.cpp
@@ -488,6 +488,7 @@ SaveStateList CProjectItem::getSavegameList(const Common::String &target) {
 bool CProjectItem::readSavegameHeader(SimpleFile *file, TitanicSavegameHeader &header) {
 	char saveIdentBuffer[SAVEGAME_STR_SIZE + 1];
 	header._thumbnail = nullptr;
+	header._totalFrames = 0;
 
 	// Validate the header Id
 	file->unsafeRead(saveIdentBuffer, SAVEGAME_STR_SIZE + 1);





More information about the Scummvm-git-logs mailing list