aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hugo/file.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/hugo/file.cpp b/engines/hugo/file.cpp
index fa8d5b9947..9165640f3f 100644
--- a/engines/hugo/file.cpp
+++ b/engines/hugo/file.cpp
@@ -203,6 +203,7 @@ void FileManager::readImage(int objNum, object_t *objPtr) {
}
}
}
+ assert(seqPtr);
seqPtr->nextSeqPtr = objPtr->seqList[j].seqPtr; // loop linked list to head
}