diff options
Diffstat (limited to 'engines/prince/script.cpp')
-rw-r--r-- | engines/prince/script.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/prince/script.cpp b/engines/prince/script.cpp index 13234971cd..91da9abdc5 100644 --- a/engines/prince/script.cpp +++ b/engines/prince/script.cpp @@ -332,9 +332,10 @@ bool Script::loadAllMasks(Common::Array<Mask> &maskList, int offset) { } delete msStream; } - tempMask._width = tempMask.getHeight(); + tempMask._width = tempMask.getWidth(); tempMask._height = tempMask.getHeight(); debug("width: %d, height: %d\n", tempMask._width, tempMask._height); + debug("dataSize: %d", dataSize); maskList.push_back(tempMask); offset += 16; // size of Mask (Nak) struct |