mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 09:21:08 +00:00
Fix room resource loading in Buzzy games.
svn-id: r16972
This commit is contained in:
parent
9f364eaf65
commit
3cd0ff763c
@ -639,7 +639,7 @@ void ScummEngine::ensureResourceLoaded(int type, int i) {
|
||||
|
||||
debugC(DEBUG_RESOURCE, "ensureResourceLoaded(%s,%d)", resTypeFromId(type), i);
|
||||
|
||||
if ((type == rtRoom) && i > 0x7F && _version < 7) {
|
||||
if ((type == rtRoom) && i > 0x7F && _version < 7 && _heversion <= 71) {
|
||||
i = _resourceMapper[i & 0x7F];
|
||||
}
|
||||
|
||||
@ -666,7 +666,7 @@ void ScummEngine::ensureResourceLoaded(int type, int i) {
|
||||
loadResource(type, i);
|
||||
|
||||
if (_version == 5 && type == rtRoom && i == _roomResource)
|
||||
VAR(VAR_ROOM_FLAG) = 1;
|
||||
VAR(VAR_ROOM_FLAG) = 1;
|
||||
}
|
||||
|
||||
int ScummEngine::loadResource(int type, int idx) {
|
||||
|
Loading…
Reference in New Issue
Block a user