[Scummvm-cvs-logs] scummvm master -> 819ab3189f1e95eb544a920671e2bf0204e318f1

Strangerke Strangerke at scummvm.org
Sun Nov 24 19:08:32 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:
819ab3189f TSAGE: R2R - Fix palette glitch in intro (courtesy of Dreammaster)


Commit: 819ab3189f1e95eb544a920671e2bf0204e318f1
    https://github.com/scummvm/scummvm/commit/819ab3189f1e95eb544a920671e2bf0204e318f1
Author: Strangerke (strangerke at scummvm.org)
Date: 2013-11-24T10:07:35-08:00

Commit Message:
TSAGE: R2R - Fix palette glitch in intro (courtesy of Dreammaster)

Changed paths:
    engines/tsage/graphics.cpp



diff --git a/engines/tsage/graphics.cpp b/engines/tsage/graphics.cpp
index cdb1cfd..fa3ed33 100644
--- a/engines/tsage/graphics.cpp
+++ b/engines/tsage/graphics.cpp
@@ -1246,7 +1246,8 @@ GfxButton *GfxDialog::execute(GfxButton *defaultButton) {
 
 void GfxDialog::setPalette() {
 	if (g_vm->getGameID() != GType_Ringworld) {
-		g_globals->_scenePalette.loadPalette(2);
+		if (g_vm->getGameID() == GType_BlueForce)
+			g_globals->_scenePalette.loadPalette(2);
 		g_globals->_scenePalette.setPalette(0, 1);
 		g_globals->_scenePalette.setPalette(g_globals->_gfxColors.background, 1);
 		g_globals->_scenePalette.setPalette(g_globals->_gfxColors.foreground, 1);






More information about the Scummvm-git-logs mailing list