diff options
author | Filippos Karapetis | 2008-09-30 13:19:14 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-09-30 13:19:14 +0000 |
commit | 45284cfad92398619624d3c25804a74464b883b9 (patch) | |
tree | 40c9c78ae468efda26efd0a0ee1be22ce56842e3 | |
parent | 7443b599c4fed18b110ab4db46ac286f105014fa (diff) | |
download | scummvm-rg350-45284cfad92398619624d3c25804a74464b883b9.tar.gz scummvm-rg350-45284cfad92398619624d3c25804a74464b883b9.tar.bz2 scummvm-rg350-45284cfad92398619624d3c25804a74464b883b9.zip |
Fixed crash when starting IHNM, a regression from commit #34693
svn-id: r34705
-rw-r--r-- | engines/saga/rscfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/rscfile.cpp b/engines/saga/rscfile.cpp index 578d0d91c6..290b5a6ef9 100644 --- a/engines/saga/rscfile.cpp +++ b/engines/saga/rscfile.cpp @@ -319,7 +319,7 @@ bool Resource::loadContext(ResourceContext *context) { } //process external patch files - for (patchDescription = _vm->getPatchDescriptions(); patchDescription->fileName; ++patchDescription) { + for (patchDescription = _vm->getPatchDescriptions(); patchDescription; ++patchDescription) { if ((patchDescription->fileType & context->fileType) != 0) { if (patchDescription->resourceId < context->count) { resourceData = &context->table[patchDescription->resourceId]; |