From fa190dc2975f55b86790ab64937bff2e609633ad Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Mon, 30 Jul 2007 19:05:49 +0000 Subject: Fixed palette going psychedelic at the very end of the game. svn-id: r28335 --- engines/parallaction/callables_ns.cpp | 6 +++--- 1 file 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; -- cgit v1.2.3