diff options
| author | Johannes Schickel | 2011-02-20 21:30:23 +0100 | 
|---|---|---|
| committer | Johannes Schickel | 2011-02-20 21:37:39 +0100 | 
| commit | 16be240ab1260117c0c9affe9cb4037e847a5df2 (patch) | |
| tree | d6dcf232f194fcc509c09f0400eb7a1820b5808f /engines/kyra/screen.cpp | |
| parent | 0933325b7cc6d512327a02716f95748fc9a16bba (diff) | |
| download | scummvm-rg350-16be240ab1260117c0c9affe9cb4037e847a5df2.tar.gz scummvm-rg350-16be240ab1260117c0c9affe9cb4037e847a5df2.tar.bz2 scummvm-rg350-16be240ab1260117c0c9affe9cb4037e847a5df2.zip  | |
KYRA: Fix regression in Screen::setInterfacePalette.
This fixes an out of bounds write introduced with 9216c7e.
Diffstat (limited to 'engines/kyra/screen.cpp')
| -rw-r--r-- | engines/kyra/screen.cpp | 1 | 
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp index 3eea7aab14..a6754610ef 100644 --- a/engines/kyra/screen.cpp +++ b/engines/kyra/screen.cpp @@ -741,7 +741,6 @@ void Screen::setInterfacePalette(const Palette &pal, uint8 r, uint8 g, uint8 b)  			screenPal[3 * i + 1] = (g * 0xFF) / 0x3F;  			screenPal[3 * i + 2] = (b * 0xFF) / 0x3F;  		} -		screenPal[4 * i + 3] = 0;  	}  	_paletteChanged = true;  | 
