diff options
author | Nicolas Bacca | 2004-02-20 22:16:44 +0000 |
---|---|---|
committer | Nicolas Bacca | 2004-02-20 22:16:44 +0000 |
commit | b3f4ba3417930d247363dfde155fed91503fb932 (patch) | |
tree | 3f29aef72a0accf11567a0cabe310c520d5d0966 | |
parent | 5c59d9a66b5cf9ac9d11da915cef9684bbae2058 (diff) | |
download | scummvm-rg350-b3f4ba3417930d247363dfde155fed91503fb932.tar.gz scummvm-rg350-b3f4ba3417930d247363dfde155fed91503fb932.tar.bz2 scummvm-rg350-b3f4ba3417930d247363dfde155fed91503fb932.zip |
EVC ... no ... comments ... please :)
svn-id: r12945
-rw-r--r-- | scumm/script_v6.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 0403b05664..61a3bdc0f3 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -3102,9 +3102,10 @@ void ScummEngine_v6::o6_setBoxSet() { const byte *room = getResourceAddress(rtRoom, _roomResource); const byte *boxd = NULL, *boxm = NULL; int32 dboxSize, mboxSize; + int i; ResourceIterator boxds(room, false); - for (int i = 0; i < arg; i++) + for (i = 0; i < arg; i++) boxd = boxds.findNext(MKID('BOXD')); if (!boxd) @@ -3117,7 +3118,7 @@ void ScummEngine_v6::o6_setBoxSet() { memcpy(matrix, boxd, dboxSize); ResourceIterator boxms(room, false); - for (int i = 0; i < arg; i++) + for (i = 0; i < arg; i++) boxm = boxms.findNext(MKID('BOXM')); if (!boxm) |