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
This commit is contained in:
Strangerke 2011-11-06 22:53:41 +01:00
parent 36ad5d89c1
commit 783d60be1b

View File

@ -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;