diff options
author | Max Horn | 2008-09-30 09:08:17 +0000 |
---|---|---|
committer | Max Horn | 2008-09-30 09:08:17 +0000 |
commit | 82f7b3e6e4044fa0f6e43dc07a7ed36ee14a111d (patch) | |
tree | 1914d147dd8ef9d6e1ba1d3b62b5fb5901473834 /engines/saga/rscfile.cpp | |
parent | 66c481c70a8aec012569cd56b566cbe674ef76cb (diff) | |
download | scummvm-rg350-82f7b3e6e4044fa0f6e43dc07a7ed36ee14a111d.tar.gz scummvm-rg350-82f7b3e6e4044fa0f6e43dc07a7ed36ee14a111d.tar.bz2 scummvm-rg350-82f7b3e6e4044fa0f6e43dc07a7ed36ee14a111d.zip |
SAGA: Removed patchesCount from SAGAGameDescription
svn-id: r34693
Diffstat (limited to 'engines/saga/rscfile.cpp')
-rw-r--r-- | engines/saga/rscfile.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/saga/rscfile.cpp b/engines/saga/rscfile.cpp index 05b1162973..345e85a903 100644 --- a/engines/saga/rscfile.cpp +++ b/engines/saga/rscfile.cpp @@ -263,7 +263,6 @@ bool Resource::loadMacContext(ResourceContext *context) { bool Resource::loadContext(ResourceContext *context) { size_t i; - int j; const GamePatchDescription *patchDescription; ResourceData *resourceData; uint16 subjectResourceType; @@ -320,8 +319,7 @@ bool Resource::loadContext(ResourceContext *context) { } //process external patch files - for (j = 0; j < _vm->getPatchesCount(); j++) { - patchDescription = &_vm->getPatchDescriptions()[j]; + for (patchDescription = _vm->getPatchDescriptions(); patchDescription->fileName; ++patchDescription) { if ((patchDescription->fileType & context->fileType) != 0) { if (patchDescription->resourceId < context->count) { resourceData = &context->table[patchDescription->resourceId]; |