diff options
author | Johannes Schickel | 2007-04-26 13:00:52 +0000 |
---|---|---|
committer | Johannes Schickel | 2007-04-26 13:00:52 +0000 |
commit | 8b7d458668b93cf5cbfdc6e8c326a639b29ecc8b (patch) | |
tree | 2c11e1f466715ca1891263ca871504563cf8c615 /engines | |
parent | 70bae60c444d0e6809cac28415d935e2fc7ff681 (diff) | |
download | scummvm-rg350-8b7d458668b93cf5cbfdc6e8c326a639b29ecc8b.tar.gz scummvm-rg350-8b7d458668b93cf5cbfdc6e8c326a639b29ecc8b.tar.bz2 scummvm-rg350-8b7d458668b93cf5cbfdc6e8c326a639b29ecc8b.zip |
Oops.
svn-id: r26596
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/screen.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp index 1b67ed04b3..c0e8ed7e92 100644 --- a/engines/kyra/screen.cpp +++ b/engines/kyra/screen.cpp @@ -1596,8 +1596,10 @@ uint Screen::decodeFrame4(const uint8 *src, uint8 *dst, uint32 dstSize) { memset(dst, *src++, len); dst += len; } else { - if (code == 0xFF) - len = READ_LE_UINT16(src); src += 2; + if (code == 0xFF) { + len = READ_LE_UINT16(src); + src += 2; + } int offs = READ_LE_UINT16(src); src += 2; if (len > count) |