[Scummvm-cvs-logs] scummvm master -> 783d60be1bd4e68dc20eaaaa305d05ffa178364e

Strangerke Strangerke at scummvm.org
Sun Nov 6 22:54:39 CET 2011


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:
783d60be1b TSAGE: Blue Force - Inside PD (315): Add a hack in order to avoid infinite points bug.


Commit: 783d60be1bd4e68dc20eaaaa305d05ffa178364e
    https://github.com/scummvm/scummvm/commit/783d60be1bd4e68dc20eaaaa305d05ffa178364e
Author: Strangerke (strangerke at scummvm.org)
Date: 2011-11-06T13:53:41-08:00

Commit Message:
TSAGE: Blue Force - Inside PD (315): Add a hack in order to avoid infinite points bug.

To be checked in the original if it occurs too

Changed paths:
    engines/tsage/blue_force/blueforce_scenes3.cpp



diff --git a/engines/tsage/blue_force/blueforce_scenes3.cpp b/engines/tsage/blue_force/blueforce_scenes3.cpp
index be102b9..f8f735c 100644
--- a/engines/tsage/blue_force/blueforce_scenes3.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes3.cpp
@@ -944,6 +944,10 @@ void Scene315::Action1::signal() {
 		if (scene->_sceneMode == 3169) {
 			T2_GLOBALS._uiElements.addScore(30);
 			BF_INVENTORY.setObjectScene(INV_MUG_SHOT, 1);
+			//HACK: This has to be checked wether or not it occurs in the original.
+			//When the _sceneMode is set to 3169, the value desn't change. 
+			//If you show the forest rapsheet, it gives points (and again... and again...)
+			scene->_sceneMode = 3154;
 		}
 
 		remove();
@@ -1291,6 +1295,7 @@ void Scene315::signal() {
 		T2_GLOBALS._uiElements.addScore(30);
 		BF_INVENTORY.setObjectScene(INV_MUG_SHOT, 1);
 		BF_GLOBALS._player.enableControl();
+		break;
 	case 3154:
 	default:
 		break;






More information about the Scummvm-git-logs mailing list