From 03616ad2c89fffcb7eb49124be060f978ae176f2 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 10 Apr 2005 00:32:11 +0000 Subject: Add some debug output to help with bug report. svn-id: r17493 --- scumm/script_v6he.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.3