diff options
author | Max Horn | 2009-02-20 15:55:59 +0000 |
---|---|---|
committer | Max Horn | 2009-02-20 15:55:59 +0000 |
commit | e736b7fa625f6155737fdad333d337dd282096a8 (patch) | |
tree | b5da503609039a9ec646ebe929a35c948df010ae /engines/sci/scicore/resource_map.cpp | |
parent | 617c63c1ede44de5f64ffab29842b233575032c1 (diff) | |
download | scummvm-rg350-e736b7fa625f6155737fdad333d337dd282096a8.tar.gz scummvm-rg350-e736b7fa625f6155737fdad333d337dd282096a8.tar.bz2 scummvm-rg350-e736b7fa625f6155737fdad333d337dd282096a8.zip |
SCI: Renamed some ResourceManager members, cleanup
svn-id: r38596
Diffstat (limited to 'engines/sci/scicore/resource_map.cpp')
-rw-r--r-- | engines/sci/scicore/resource_map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/scicore/resource_map.cpp b/engines/sci/scicore/resource_map.cpp index 39bf42d020..70ea8fa447 100644 --- a/engines/sci/scicore/resource_map.cpp +++ b/engines/sci/scicore/resource_map.cpp @@ -433,8 +433,8 @@ sci1_read_resource_map(ResourceManager *mgr, ResourceSource *map, ResourceSource } resources_nr = (fsize - types[0]) / entrysize; - resource_start = resources = (resource_t*)sci_realloc(mgr->resources, (mgr->resources_nr + resources_nr) * sizeof(resource_t)); - resources += mgr->resources_nr; + resource_start = resources = (resource_t*)sci_realloc(mgr->_resources, (mgr->_resourcesNr + resources_nr) * sizeof(resource_t)); + resources += mgr->_resourcesNr; i = 0; while (types[i] == 0) i++; |