aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2011-11-06 22:53:41 +0100
committerStrangerke2011-11-06 22:53:41 +0100
commit783d60be1bd4e68dc20eaaaa305d05ffa178364e (patch)
tree838be9c3430454b4d8678d44efb83a29ae968c10 /engines
parent36ad5d89c1917843fc2ec1ab05460e6d167443d2 (diff)
downloadscummvm-rg350-783d60be1bd4e68dc20eaaaa305d05ffa178364e.tar.gz
scummvm-rg350-783d60be1bd4e68dc20eaaaa305d05ffa178364e.tar.bz2
scummvm-rg350-783d60be1bd4e68dc20eaaaa305d05ffa178364e.zip
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
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/blue_force/blueforce_scenes3.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes3.cpp b/engines/tsage/blue_force/blueforce_scenes3.cpp
index be102b9f83..f8f735c913 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;