[Scummvm-cvs-logs] scummvm master -> 0a4a14c9c948bd04e28ef46bede7c7e4f821e557

dreammaster dreammaster at scummvm.org
Sun Oct 20 16:57:14 CEST 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:
0a4a14c9c9 TSAGE: Fix for R2R player sometimes appearing black after reloading


Commit: 0a4a14c9c948bd04e28ef46bede7c7e4f821e557
    https://github.com/scummvm/scummvm/commit/0a4a14c9c948bd04e28ef46bede7c7e4f821e557
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2013-10-20T07:56:42-07:00

Commit Message:
TSAGE: Fix for R2R player sometimes appearing black after reloading

Changed paths:
    engines/tsage/ringworld2/ringworld2_logic.cpp



diff --git a/engines/tsage/ringworld2/ringworld2_logic.cpp b/engines/tsage/ringworld2/ringworld2_logic.cpp
index 90df72a..8e5537f 100644
--- a/engines/tsage/ringworld2/ringworld2_logic.cpp
+++ b/engines/tsage/ringworld2/ringworld2_logic.cpp
@@ -622,9 +622,8 @@ void SceneHandlerExt::process(Event &event) {
 }
 
 void SceneHandlerExt::postLoad(int priorSceneBeforeLoad, int currentSceneBeforeLoad) {
-	if (priorSceneBeforeLoad == -1 || priorSceneBeforeLoad == 50
-			|| currentSceneBeforeLoad == 180 || priorSceneBeforeLoad == 205)
-		setupPaletteMaps();
+	// Set up the shading maps used for showing the player in shadows
+	setupPaletteMaps();
 
 	if (currentSceneBeforeLoad == 2900) {
 		R2_GLOBALS._gfxFontNumber = 50;






More information about the Scummvm-git-logs mailing list