SCI: Don't error out when a Mac resource has size 0

This commit is contained in:
Matthew Hoops 2011-02-20 01:19:20 -05:00
parent 0fe3ecd6d7
commit fe250d2755

View File

@ -428,10 +428,8 @@ void MacResourceForkResourceSource::loadResource(ResourceManager *resMan, Resour
stream = _macResMan->getResource(tagArray[i], res->getNumber());
}
if (!stream)
error("Could not get Mac resource fork resource: %s", res->_id.toString().c_str());
decompressResource(stream, res);
if (stream)
decompressResource(stream, res);
}
bool MacResourceForkResourceSource::isCompressableResource(ResourceType type) const {