diff options
author | Gregory Montoir | 2003-12-31 16:15:46 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-12-31 16:15:46 +0000 |
commit | 1194bc9d5eb14fda4e5a44a9ced64fd5d578bb47 (patch) | |
tree | 665d3f72cd8e846a47385f98be49a46179113732 | |
parent | d176a6a6e1b807c0f6c5ae100fd2ed0977210dd3 (diff) | |
download | scummvm-rg350-1194bc9d5eb14fda4e5a44a9ced64fd5d578bb47.tar.gz scummvm-rg350-1194bc9d5eb14fda4e5a44a9ced64fd5d578bb47.tar.bz2 scummvm-rg350-1194bc9d5eb14fda4e5a44a9ced64fd5d578bb47.zip |
use compressed data file instead of original one if both are available
svn-id: r12059
-rw-r--r-- | queen/resource.cpp | 2 | ||||
-rw-r--r-- | queen/resource.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/queen/resource.cpp b/queen/resource.cpp index cf027c5e53..2785450836 100644 --- a/queen/resource.cpp +++ b/queen/resource.cpp @@ -47,7 +47,7 @@ Resource::Resource(const Common::String &datafilePath, SaveFileManager *mgr, con : _JAS2Pos(0), _datafilePath(datafilePath), _savePath(savePath), _resourceEntries(0), _resourceTable(NULL), _saveFileManager(mgr) { _resourceFile = new File(); - if (!findNormalVersion() && !findCompressedVersion()) + if (!findCompressedVersion() && !findNormalVersion()) error("Could not open resource file '%s%s'", _datafilePath.c_str(), "queen.1"); checkJASVersion(); debug(5, "Detected game version: %s, which has %d resource entries", _versionString, _resourceEntries); diff --git a/queen/resource.h b/queen/resource.h index c0833a9b00..d4b9f0f319 100644 --- a/queen/resource.h +++ b/queen/resource.h @@ -37,7 +37,7 @@ enum Version { VER_GER_TALKIE = 5, VER_ITA_FLOPPY = 6, VER_ITA_TALKIE = 7, - // VER_ITA_FLOPPY + // VER_SPA_FLOPPY VER_SPA_TALKIE = 8, // VER_HEB_FLOPPY // VER_HEB_TALKIE |