diff options
author | Johannes Schickel | 2009-09-20 23:56:21 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-09-20 23:56:21 +0000 |
commit | df4978b7763c332ac836e56599ce5f84ad7e55a7 (patch) | |
tree | 97471240c0519b8f3322e7ccb746daf5a6ec6938 /engines/kyra | |
parent | c9d8146c64b3884dab0582c781d586ed13ebb7b3 (diff) | |
download | scummvm-rg350-df4978b7763c332ac836e56599ce5f84ad7e55a7.tar.gz scummvm-rg350-df4978b7763c332ac836e56599ce5f84ad7e55a7.tar.bz2 scummvm-rg350-df4978b7763c332ac836e56599ce5f84ad7e55a7.zip |
Fix valgrind warning.
svn-id: r44227
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/screen_lol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/screen_lol.cpp b/engines/kyra/screen_lol.cpp index ead33b0cff..f8ccb3727c 100644 --- a/engines/kyra/screen_lol.cpp +++ b/engines/kyra/screen_lol.cpp @@ -176,7 +176,7 @@ uint8 *Screen_LoL::generateLevelOverlay(const Palette &srcPal, uint8 *ovl, int o uint8 *d = ovl; *d++ = 0; - for (int i = 1; i != 255; i++) { + for (int i = 1; i != 256; i++) { uint16 a = srt[i * 3]; uint8 dr = a - ((((a - r) * (weight >> 1)) << 1) >> 8); a = srt[i * 3 + 1]; |