diff options
author | Travis Howell | 2005-08-14 00:41:10 +0000 |
---|---|---|
committer | Travis Howell | 2005-08-14 00:41:10 +0000 |
commit | 292c9d63d6399c6f3c301f059badb40e0affa49b (patch) | |
tree | bf044931ed1580b503668c4749a3d6810a8d7773 /scumm | |
parent | 8c4494578e8273841473934facb68e6476ee16ac (diff) | |
download | scummvm-rg350-292c9d63d6399c6f3c301f059badb40e0affa49b.tar.gz scummvm-rg350-292c9d63d6399c6f3c301f059badb40e0affa49b.tar.bz2 scummvm-rg350-292c9d63d6399c6f3c301f059badb40e0affa49b.zip |
Fix regression in fbpack
svn-id: r18678
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v6he.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scumm/script_v6he.cpp b/scumm/script_v6he.cpp index 2746a858ae..208696f000 100644 --- a/scumm/script_v6he.cpp +++ b/scumm/script_v6he.cpp @@ -1165,6 +1165,7 @@ void ScummEngine_v60he::o60_localizeArrayToScript() { void ScummEngine_v60he::o60_seekFilePos() { int mode, offset, slot; + mode = pop(); offset = pop(); slot = pop(); @@ -1173,13 +1174,13 @@ void ScummEngine_v60he::o60_seekFilePos() { return; switch (mode) { - case 0: + case 1: _hFileTable[slot].seek(offset, SEEK_SET); break; - case 1: + case 2: _hFileTable[slot].seek(offset, SEEK_CUR); break; - case 2: + case 3: _hFileTable[slot].seek(offset, SEEK_END); break; default: |