diff options
author | Martin Kiewitz | 2010-06-28 14:49:54 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-06-28 14:49:54 +0000 |
commit | 8410dbab539a8c278b29e9047bd5c192a3048e32 (patch) | |
tree | 332253e8a4d1c5f944ade0c9cc01ac4fa9d59627 /engines/sci/engine | |
parent | 66fb9e7a90874e27486db98f0eb8d6f0512a00c5 (diff) | |
download | scummvm-rg350-8410dbab539a8c278b29e9047bd5c192a3048e32.tar.gz scummvm-rg350-8410dbab539a8c278b29e9047bd5c192a3048e32.tar.bz2 scummvm-rg350-8410dbab539a8c278b29e9047bd5c192a3048e32.zip |
SCI: stupid oversight fix r50446, too hot here :P
svn-id: r50447
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/script.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/script.cpp b/engines/sci/engine/script.cpp index 4100ca6448..a293f81d2f 100644 --- a/engines/sci/engine/script.cpp +++ b/engines/sci/engine/script.cpp @@ -412,12 +412,13 @@ void Script::initialiseClasses(SegManager *segMan) { uint16 marker; bool isClass; - uint16 classpos = seeker - _buf; + uint16 classpos; int16 species = 0; while (true) { // In SCI0-SCI1, this is the segment type. In SCI11, it's a marker (0x1234) marker = READ_SCI11ENDIAN_UINT16(seeker); + classpos = seeker - _buf; if (!marker) break; |