diff options
-rw-r--r-- | scumm/script_v6he.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp index 92c117c09f..849e5dedf5 100644 --- a/scumm/script_v6he.cpp +++ b/scumm/script_v6he.cpp @@ -1050,7 +1050,8 @@ int ScummEngine_v6he::readFileToArray(int slot, int32 size) { writeVar(0, 0); defineArray(0, 3, 0, size); byte *ptr = getResourceAddress(rtString, readVar(0)); - _hFileTable[slot].read(ptr, size); + _hFileTable[slot].read(ptr + 6, size); + return readVar(0); } |