mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 07:53:12 +00:00
Very very big hack to kind-of make zak256 and indy3 capable of walking.
Please, for the love of god, someone fix this. :) svn-id: r3628
This commit is contained in:
parent
abbc4bf289
commit
1e9a7c39fd
@ -697,11 +697,14 @@ void Scumm::initRoomSubBlocks() {
|
||||
memcpy(getResourceAddress(rtMatrix, 2), ptr, size);
|
||||
ptr += size;
|
||||
size = getResourceDataSize(ptr-size-6) - size;
|
||||
if(size>=0)
|
||||
{
|
||||
|
||||
if (_features & GF_OLD256) { // FIXME: Total hack.
|
||||
createBoxMatrix(); // This function shouldn't
|
||||
} else if(size>=0) { // do this :)
|
||||
createResource(rtMatrix, 1, size);
|
||||
memcpy(getResourceAddress(rtMatrix, 1), ptr, size);
|
||||
}
|
||||
|
||||
}
|
||||
} else {
|
||||
ptr = findResourceData(MKID('BOXD'), roomptr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user