SCI32: Ignore .OLD extension when searching Audio36 patches

KQ7 2.00b includes a SIERRINF.OLD file which should not be matched.
This commit is contained in:
Colin Snover 2017-01-08 19:39:09 -06:00
parent 2ce1807359
commit 70cfdb6a1f

View File

@ -1507,7 +1507,7 @@ void ResourceManager::readResourcePatchesBase36() {
// The S/T prefixes often conflict with non-patch files and generate
// spurious warnings about invalid patches
if (name.hasSuffix(".DLL") || name.hasSuffix(".EXE") || name.hasSuffix(".TXT")) {
if (name.hasSuffix(".DLL") || name.hasSuffix(".EXE") || name.hasSuffix(".TXT") || name.hasSuffix(".OLD")) {
continue;
}