diff options
Diffstat (limited to 'engines/hugo/file.cpp')
-rw-r--r-- | engines/hugo/file.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/hugo/file.cpp b/engines/hugo/file.cpp index 1c554faca4..336d44a1d3 100644 --- a/engines/hugo/file.cpp +++ b/engines/hugo/file.cpp @@ -147,6 +147,14 @@ seq_t *FileManager::readPCX(Common::File &f, seq_t *seqPtr, byte *imagePtr, bool void FileManager::readImage(int objNum, object_t *objPtr) { debugC(1, kDebugFile, "readImage(%d, object_t *objPtr)", objNum); + /** + * Structure of object file lookup entry + */ + struct objBlock_t { + uint32 objOffset; + uint32 objLength; + }; + if (!objPtr->seqNumb) // This object has no images return; |