diff options
author | Martin Kiewitz | 2010-01-28 16:30:46 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-28 16:30:46 +0000 |
commit | 8ecd76e415acfba94df2bcf6503b3db60f41ba0d (patch) | |
tree | de2dbda4e8f94778677de597b81eea7327c756e1 /engines | |
parent | 1ceaf349486a76908f9336ceef517790967b13ed (diff) | |
download | scummvm-rg350-8ecd76e415acfba94df2bcf6503b3db60f41ba0d.tar.gz scummvm-rg350-8ecd76e415acfba94df2bcf6503b3db60f41ba0d.tar.bz2 scummvm-rg350-8ecd76e415acfba94df2bcf6503b3db60f41ba0d.zip |
SCI: process robot files again (i need those for REing)
svn-id: r47644
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/resource.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index 772cc73a52..f620e1cb3f 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -1054,7 +1054,9 @@ void ResourceManager::readResourcePatches(ResourceSource *source) { // Do not try and patch files for resource types greater or // equal to audio36 (i.e. audio36, sync36, robot etc), as these won't work // with this patch scheme - for (int i = kResourceTypeView; i < kResourceTypeAudio36; ++i) { + for (int i = kResourceTypeView; i <= kResourceTypeRobot; ++i) { + if (i == kResourceTypeAudio36) + i = kResourceTypeRobot; // m_kiewitz: i need robot files for testing :) TODO: remove when RE complete files.clear(); szResType = getResourceTypeName((ResourceType)i); // SCI0 naming - type.nnn |