diff options
author | Eugene Sandulenko | 2004-02-17 00:13:25 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-02-17 00:13:25 +0000 |
commit | f219935e83cd49bf1d13692a914827b39cf29a9d (patch) | |
tree | e973fd24ebed4fbc653942a63bf5252803bccd05 | |
parent | 92eb49863561e480d30fceb65ef1fe6c9f5dda77 (diff) | |
download | scummvm-rg350-f219935e83cd49bf1d13692a914827b39cf29a9d.tar.gz scummvm-rg350-f219935e83cd49bf1d13692a914827b39cf29a9d.tar.bz2 scummvm-rg350-f219935e83cd49bf1d13692a914827b39cf29a9d.zip |
Fix bug in ScummEngine_v6::o6_setBoxSet
svn-id: r12918
-rw-r--r-- | scumm/script_v6.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 216c201f7f..8681a7f170 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -1,3 +1,4 @@ + /* ScummVM - Scumm Interpreter * Copyright (C) 2001 Ludvig Strigeus * Copyright (C) 2001-2004 The ScummVM project @@ -3124,7 +3125,7 @@ void ScummEngine_v6::o6_setBoxSet() { if (!boxm) 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); assert(matrix); |