diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp index c35d9621a61..ce6c4c07c76 100644 --- a/scumm/script_v6he.cpp +++ b/scumm/script_v6he.cpp @@ -1082,8 +1082,7 @@ int ScummEngine_v6he::readFileToArray(int slot, int32 size) { writeVar(0, 0); - // define size as size-1 because in defineArray it gets incremented - ArrayHeader *ah = defineArray(0, rtCostume, 0, size-1); + ArrayHeader *ah = defineArray(0, rtCostume, 0, size); _hFileTable[slot].read(ah->data, size); return readVar(0);