aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe')
-rw-r--r--engines/fullpipe/gfx.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index c316f5f616..7153ae77fd 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -587,6 +587,9 @@ void Picture::getDibInfo() {
warning("Picture::getDibInfo: data is empty <%s>", _memfilename.c_str());
MemoryObject::load();
+
+ if (!_data)
+ error("Picture::getDibInfo: error loading object #%d", _cnum);
}
Common::MemoryReadStream *s = new Common::MemoryReadStream(_data + off - 32, 32);