restricted check to V2, stupid mistake
svn-id: r8323
This commit is contained in:
parent
a61e845313
commit
740e7cc0ff
2 changed files with 3 additions and 2 deletions
|
@ -182,7 +182,7 @@ bool Scumm::loadState(int slot, bool compat, SaveFileManager *mgr) {
|
|||
|
||||
initBGBuffers(_roomHeight);
|
||||
|
||||
if (_features & GF_OLD_BUNDLE) {
|
||||
if (_features & GF_AFTER_V2) {
|
||||
// Regenerate strip table when loading
|
||||
_roomStrips = gdi.generateStripTable(getResourceAddress(rtRoom, _roomResource) + _IM00_offs,
|
||||
_roomWidth, _roomHeight, _roomStrips);
|
||||
|
|
|
@ -1413,6 +1413,7 @@ void Scumm::initRoomSubBlocks() {
|
|||
//
|
||||
if (_features & GF_OLD_BUNDLE) {
|
||||
_IM00_offs = READ_LE_UINT16(roomptr + 0x0A);
|
||||
if (_features & GF_AFTER_V2)
|
||||
_roomStrips = gdi.generateStripTable(roomptr + _IM00_offs, _roomWidth, _roomHeight, _roomStrips);
|
||||
} else if (_features & GF_SMALL_HEADER)
|
||||
_IM00_offs = findResourceData(MKID('IM00'), roomptr) - roomptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue