From a1b4b017f8afaa634c4e802b0545739d4f2da95b Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 17 Jun 2017 16:43:44 -0400 Subject: TITANIC: Further fix for tracking total play time --- engines/titanic/core/project_item.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/titanic') diff --git a/engines/titanic/core/project_item.cpp b/engines/titanic/core/project_item.cpp index 205eecfd2f..5a530a82b8 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); -- cgit v1.2.3