aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/saga/rscfile.cpp2
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];