Revert change, caused regression (Mini game in Cosmic Diner of puttmoon no longer works)

svn-id: r14025
This commit is contained in:
Travis Howell 2004-06-24 05:11:19 +00:00
parent 9fae63756b
commit 54e3e20b98

View File

@ -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);