aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Mettifogo2007-07-30 19:05:49 +0000
committerNicola Mettifogo2007-07-30 19:05:49 +0000
commitfa190dc2975f55b86790ab64937bff2e609633ad (patch)
tree460662f782b28f9bf49d982848a862eb8bcfcb4b
parentba271c04054ff0ec64032df3626ab89353089415 (diff)
downloadscummvm-rg350-fa190dc2975f55b86790ab64937bff2e609633ad.tar.gz
scummvm-rg350-fa190dc2975f55b86790ab64937bff2e609633ad.tar.bz2
scummvm-rg350-fa190dc2975f55b86790ab64937bff2e609633ad.zip
Fixed palette going psychedelic at the very end of the game.
svn-id: r28335
-rw-r--r--engines/parallaction/callables_ns.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/callables_ns.cpp b/engines/parallaction/callables_ns.cpp
index adf74cf75c..b124ba864a 100644
--- a/engines/parallaction/callables_ns.cpp
+++ b/engines/parallaction/callables_ns.cpp
@@ -367,7 +367,7 @@ void Parallaction_ns::_c_endComment(void *param) {
if (_enginePal[si] != pal[si]) {
al = _enginePal[si];
- if (al > pal[si])
+ if (al < pal[si])
al = 1;
else
al = -1;
@@ -376,7 +376,7 @@ void Parallaction_ns::_c_endComment(void *param) {
if (_enginePal[si+1] != pal[si+1]) {
al = _enginePal[si+1];
- if (al > pal[si+1])
+ if (al < pal[si+1])
al = 1;
else
al = -1;
@@ -385,7 +385,7 @@ void Parallaction_ns::_c_endComment(void *param) {
if (_enginePal[si+2] != pal[si+2]) {
al = _enginePal[si+2];
- if (al > pal[si+2])
+ if (al < pal[si+2])
al = 1;
else
al = -1;