diff options
author | Max Horn | 2004-01-04 12:35:51 +0000 |
---|---|---|
committer | Max Horn | 2004-01-04 12:35:51 +0000 |
commit | 14cf65c0abefeebca080ec1a689af8294453597b (patch) | |
tree | 97492c83f26dfec35af54d40ccac16e646438900 /scumm | |
parent | cfcb22939fc306863ccfe418e310f852173355f9 (diff) | |
download | scummvm-rg350-14cf65c0abefeebca080ec1a689af8294453597b.tar.gz scummvm-rg350-14cf65c0abefeebca080ec1a689af8294453597b.tar.bz2 scummvm-rg350-14cf65c0abefeebca080ec1a689af8294453597b.zip |
uhm? I don't see why VC 2003 would complain about this, but not about the many equal instances of this code (which, BTW, is perfectly valid C...)
svn-id: r12130
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 348ea1bffa..47edae6218 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -1771,7 +1771,7 @@ void Gdi::unkDecodeA(byte *dst, const byte *src, int height) { cl -= 3; bits >>= 3; if (incm) { - color = (byte)((color + incm) & 0xFF); + color += incm; } else { FILL_BITS; reps = bits & 0xFF; |