diff options
Diffstat (limited to 'engines/saga/rscfile.h')
-rw-r--r-- | engines/saga/rscfile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/saga/rscfile.h b/engines/saga/rscfile.h index f8b6ddc3be..2df3b2eb7c 100644 --- a/engines/saga/rscfile.h +++ b/engines/saga/rscfile.h @@ -83,6 +83,8 @@ struct ResourceContext { Common::File *getFile(ResourceData *resourceData) const { if (resourceData->patchData != NULL) { + if (!resourceData->patchData->_patchFile->isOpen()) + resourceData->patchData->_patchFile->open(resourceData->patchData->_patchDescription->fileName); return resourceData->patchData->_patchFile; } else { return file; |