aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2013-11-23 23:23:43 -0500
committerPaul Gilbert2013-11-23 23:23:43 -0500
commit1aa0d0bd9b78ac008961730644efdd5d3f8a2a12 (patch)
tree2a155bc1ec2bc600504beea098ce41c4803b1e1b /engines
parent6a2ee82699d7467e2e698d5d1ce6a388f49bb883 (diff)
downloadscummvm-rg350-1aa0d0bd9b78ac008961730644efdd5d3f8a2a12.tar.gz
scummvm-rg350-1aa0d0bd9b78ac008961730644efdd5d3f8a2a12.tar.bz2
scummvm-rg350-1aa0d0bd9b78ac008961730644efdd5d3f8a2a12.zip
TSAGE: Added new palette rotation code, to fix R2R rimwall vechile scene
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/core.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index 320d3ddd2c..a519ffbd10 100644
--- a/engines/tsage/core.cpp
+++ b/engines/tsage/core.cpp
@@ -1153,6 +1153,13 @@ void PaletteRotation::signal() {
if (flag)
_currIndex = _start;
}
+
+ // Added in Return to Ringworld
+ if (_currIndex < _start) {
+ flag = decDuration();
+ if (flag)
+ _currIndex = _end;
+ }
break;
case 2:
_currIndex += _idxChange;