aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v6he.cpp3
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;