mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 13:42:02 +00:00
Fix bug in ScummEngine_v6::o6_setBoxSet
svn-id: r12918
This commit is contained in:
parent
92eb498635
commit
f219935e83
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
/* ScummVM - Scumm Interpreter
|
/* ScummVM - Scumm Interpreter
|
||||||
* Copyright (C) 2001 Ludvig Strigeus
|
* Copyright (C) 2001 Ludvig Strigeus
|
||||||
* Copyright (C) 2001-2004 The ScummVM project
|
* Copyright (C) 2001-2004 The ScummVM project
|
||||||
@ -3124,7 +3125,7 @@ void ScummEngine_v6::o6_setBoxSet() {
|
|||||||
if (!boxm)
|
if (!boxm)
|
||||||
error("ScummEngine_v6::o6_setBoxSet: Can't find mboxes for set %d", arg);
|
error("ScummEngine_v6::o6_setBoxSet: Can't find mboxes for set %d", arg);
|
||||||
|
|
||||||
mboxSize = READ_BE_UINT32(boxd + 4);
|
mboxSize = READ_BE_UINT32(boxm + 4);
|
||||||
matrix = createResource(rtMatrix, 1, mboxSize);
|
matrix = createResource(rtMatrix, 1, mboxSize);
|
||||||
|
|
||||||
assert(matrix);
|
assert(matrix);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user