diff options
Diffstat (limited to 'engines/made')
-rw-r--r-- | engines/made/resource.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/made/resource.cpp b/engines/made/resource.cpp index a9734ed47d..d8ceb87bb6 100644 --- a/engines/made/resource.cpp +++ b/engines/made/resource.cpp @@ -400,7 +400,8 @@ ResourceReader::~ResourceReader() { // V2 void ResourceReader::open(const char *filename) { _fd = new Common::File(); - _fd->open(filename); + if (!_fd->open(filename)) + error("ResourceReader::open() Could not open '%s'", filename); _fd->skip(0x18); // skip header for now |