Fixed bug #1814061. Special effect routine was overflowing palette size.

svn-id: r29224
This commit is contained in:
Nicola Mettifogo 2007-10-15 18:59:32 +00:00
parent 913ef56024
commit 652866117a

View File

@ -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
}