aboutsummaryrefslogtreecommitdiff
path: root/saga/rscfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'saga/rscfile.cpp')
-rw-r--r--saga/rscfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/saga/rscfile.cpp b/saga/rscfile.cpp
index 7a328c8158..1f5b3e9725 100644
--- a/saga/rscfile.cpp
+++ b/saga/rscfile.cpp
@@ -312,7 +312,7 @@ bool Resource::loadContext(ResourceContext *context) {
}
//process external patch files
- for (j = 0; j < _vm->getGameDescription()->patchsCount; j++) {
+ for (j = 0; j < _vm->getGameDescription()->patchesCount; j++) {
patchDescription = &_vm->getGameDescription()->patchDescriptions[j];
if ((patchDescription->fileType & context->fileType) != 0) {
if (patchDescription->resourceId < context->count) {