aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core
diff options
context:
space:
mode:
authorPaul Gilbert2017-06-17 16:43:44 -0400
committerPaul Gilbert2017-06-17 16:43:44 -0400
commita1b4b017f8afaa634c4e802b0545739d4f2da95b (patch)
treef0dfcba646fe9fb8ffbb4274813148bafefc96c0 /engines/titanic/core
parentd7ba14cca8e0e8a8960b449a67bf14c9cde75aea (diff)
downloadscummvm-rg350-a1b4b017f8afaa634c4e802b0545739d4f2da95b.tar.gz
scummvm-rg350-a1b4b017f8afaa634c4e802b0545739d4f2da95b.tar.bz2
scummvm-rg350-a1b4b017f8afaa634c4e802b0545739d4f2da95b.zip
TITANIC: Further fix for tracking total play time
Diffstat (limited to 'engines/titanic/core')
-rw-r--r--engines/titanic/core/project_item.cpp1
1 files changed, 1 insertions, 0 deletions
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);