diff options
author | Nicola Mettifogo | 2007-10-15 18:59:32 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-10-15 18:59:32 +0000 |
commit | 652866117afe5ad3cc8c3fd06455f97a6cd52ba4 (patch) | |
tree | 291bb0861833cb2d562aaf72c81f1faf7d33db20 /engines/parallaction | |
parent | 913ef56024bd67e81e06129603314cfc40954f05 (diff) | |
download | scummvm-rg350-652866117afe5ad3cc8c3fd06455f97a6cd52ba4.tar.gz scummvm-rg350-652866117afe5ad3cc8c3fd06455f97a6cd52ba4.tar.bz2 scummvm-rg350-652866117afe5ad3cc8c3fd06455f97a6cd52ba4.zip |
Fixed bug #1814061. Special effect routine was overflowing palette size.
svn-id: r29224
Diffstat (limited to 'engines/parallaction')
-rw-r--r-- | engines/parallaction/callables_ns.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/callables_ns.cpp b/engines/parallaction/callables_ns.cpp index 70d5b22009..d0acd0a425 100644 --- a/engines/parallaction/callables_ns.cpp +++ b/engines/parallaction/callables_ns.cpp @@ -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 } |