diff options
author | Robert Göffringmann | 2003-12-17 01:47:47 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-12-17 01:47:47 +0000 |
commit | 34d1751fe402936455fc8b57b28cb6c3eda11285 (patch) | |
tree | 4915c2d545063455d34c0d91c3cc341e45b17fae /sword1/objectman.cpp | |
parent | d81746ada8e7013759eafd7154dd81d488910d22 (diff) | |
download | scummvm-rg350-34d1751fe402936455fc8b57b28cb6c3eda11285.tar.gz scummvm-rg350-34d1751fe402936455fc8b57b28cb6c3eda11285.tar.bz2 scummvm-rg350-34d1751fe402936455fc8b57b28cb6c3eda11285.zip |
fixed resMan bug about closing of sections and started adding menu support
svn-id: r11695
Diffstat (limited to 'sword1/objectman.cpp')
-rw-r--r-- | sword1/objectman.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword1/objectman.cpp b/sword1/objectman.cpp index 94fa4b65dd..a2f0881c9e 100644 --- a/sword1/objectman.cpp +++ b/sword1/objectman.cpp @@ -65,7 +65,7 @@ void ObjectMan::megaLeaving(uint16 section, int id) { error("mega %d is leaving empty section %d", id, section); _liveList[section]--; if ((_liveList[section] == 0) && (id != PLAYER)) { - _resMan->resClose(_liveList[section]); + _resMan->resClose(_objectList[section]); _cptData[section] = NULL; } /* if the player is leaving the section then we have to close the resources after |