diff options
author | Travis Howell | 2005-04-10 00:32:11 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-10 00:32:11 +0000 |
commit | 03616ad2c89fffcb7eb49124be060f978ae176f2 (patch) | |
tree | 438dd4d46a92d06e14225bf3411ffc09d1f1aa2c | |
parent | 1ec5111b984bad12b64c254476efa2d113b623d6 (diff) | |
download | scummvm-rg350-03616ad2c89fffcb7eb49124be060f978ae176f2.tar.gz scummvm-rg350-03616ad2c89fffcb7eb49124be060f978ae176f2.tar.bz2 scummvm-rg350-03616ad2c89fffcb7eb49124be060f978ae176f2.zip |
Add some debug output to help with bug report.
svn-id: r17493
-rw-r--r-- | scumm/script_v6he.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp index c3c24e826e..4a202ae5e4 100644 --- a/scumm/script_v6he.cpp +++ b/scumm/script_v6he.cpp @@ -1259,6 +1259,9 @@ void ScummEngine_v60he::redimArray(int arrayId, int newX, int newY, int type) { if (!ah) error("redimArray: Invalid array (%d) reference", readVar(arrayId)); + printf("redimArray: type %d newX %d newY %d\n", type, newX, newY); + printf("redimArray: arrayId %d type %d dim1 %d dim2 %d\n", arrayId, ah->type, ah->dim1, ah->dim2); + newSize = (type == kIntArray) ? 2 : 1; oldSize = (ah->type == kIntArray) ? 2 : 1; |