[Scummvm-cvs-logs] scummvm master -> 1aa0d0bd9b78ac008961730644efdd5d3f8a2a12

dreammaster dreammaster at scummvm.org
Sun Nov 24 05:24:13 CET 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
1aa0d0bd9b TSAGE: Added new palette rotation code, to fix R2R rimwall vechile scene


Commit: 1aa0d0bd9b78ac008961730644efdd5d3f8a2a12
    https://github.com/scummvm/scummvm/commit/1aa0d0bd9b78ac008961730644efdd5d3f8a2a12
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2013-11-23T20:23:43-08:00

Commit Message:
TSAGE: Added new palette rotation code, to fix R2R rimwall vechile scene

Changed paths:
    engines/tsage/core.cpp



diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index 320d3dd..a519ffb 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;






More information about the Scummvm-git-logs mailing list