diff options
author | Eugene Sandulenko | 2004-02-23 02:51:34 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-02-23 02:51:34 +0000 |
commit | ab72dadbff628b725d80a3d63f8bf88ece866a8f (patch) | |
tree | 286280bef756920ca2a4982a8141b043aae6cae1 /scumm/script_v6he.cpp | |
parent | f8781408956e8e29a34a9bddd558c3c2b6592b6f (diff) | |
download | scummvm-rg350-ab72dadbff628b725d80a3d63f8bf88ece866a8f.tar.gz scummvm-rg350-ab72dadbff628b725d80a3d63f8bf88ece866a8f.tar.bz2 scummvm-rg350-ab72dadbff628b725d80a3d63f8bf88ece866a8f.zip |
Fix o6_readFile. Now it works
svn-id: r13002
Diffstat (limited to 'scumm/script_v6he.cpp')
-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); } |