mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
Fixed bug #1814061. Special effect routine was overflowing palette size.
svn-id: r29224
This commit is contained in:
parent
913ef56024
commit
652866117a
@ -359,7 +359,7 @@ void Parallaction_ns::_c_frankenstein(void *parm) {
|
||||
Palette pal0(_gfx->_palette);
|
||||
Palette pal1;
|
||||
|
||||
for (uint16 i = 0; i <= 32; i++) {
|
||||
for (uint16 i = 0; i < 32; i++) {
|
||||
pal0.setEntry(i, -1, 0, 0); // leaves reds unchanged while zeroing other components
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user