diff options
author | Filippos Karapetis | 2009-07-07 13:39:24 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-07-07 13:39:24 +0000 |
commit | ab8c3d56b86d93dcd2c0debeb6ad57bf87910fd2 (patch) | |
tree | ab7e798c415355ef3a923b27ecb37e4df630e662 /engines/sci/resource.h | |
parent | 09efaaa1c91854feaf19ba6fae1b702203984e26 (diff) | |
download | scummvm-rg350-ab8c3d56b86d93dcd2c0debeb6ad57bf87910fd2.tar.gz scummvm-rg350-ab8c3d56b86d93dcd2c0debeb6ad57bf87910fd2.tar.bz2 scummvm-rg350-ab8c3d56b86d93dcd2c0debeb6ad57bf87910fd2.zip |
Removed the weird checks for a maximum resource number (the sci_max_resource_nr array), as it doesn't serve any real purpose and leads to strange errors: if a resource is found which is bigger than the maximum number, it will be remapped to an incorrect number from this check. This makes KQ5CD work properly again (resources would be remapped to incorrect resource numbers from this code as a result of not updating this array with the latest SCI version merges).
svn-id: r42219
Diffstat (limited to 'engines/sci/resource.h')
-rw-r--r-- | engines/sci/resource.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h index 1b54b28df9..b212a36710 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -82,8 +82,6 @@ enum ResSourceType { #define SCI1_RESMAP_ENTRIES_SIZE 6 #define SCI11_RESMAP_ENTRIES_SIZE 5 -extern const int sci_max_resource_nr[]; /**< Highest possible resource numbers */ - enum ResourceType { kResourceTypeView = 0, kResourceTypePic, |