aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);