aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorNicola Mettifogo2007-10-15 18:59:32 +0000
committerNicola Mettifogo2007-10-15 18:59:32 +0000
commit652866117afe5ad3cc8c3fd06455f97a6cd52ba4 (patch)
tree291bb0861833cb2d562aaf72c81f1faf7d33db20 /engines/parallaction
parent913ef56024bd67e81e06129603314cfc40954f05 (diff)
downloadscummvm-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.cpp2
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
}