From 45284cfad92398619624d3c25804a74464b883b9 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 30 Sep 2008 13:19:14 +0000 Subject: Fixed crash when starting IHNM, a regression from commit #34693 svn-id: r34705 --- engines/saga/rscfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit v1.2.3