aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2011-10-09 22:53:31 +1100
committerPaul Gilbert2011-10-09 22:53:31 +1100
commitec2512ba25175af3d75927e3a0bf2943634c92ad (patch)
treee6135959a4fac29cd08f5d444d764b2279ebef0b
parent2f9796b34b50072cddba6f59ce25e337ee4bc60f (diff)
downloadscummvm-rg350-ec2512ba25175af3d75927e3a0bf2943634c92ad.tar.gz
scummvm-rg350-ec2512ba25175af3d75927e3a0bf2943634c92ad.tar.bz2
scummvm-rg350-ec2512ba25175af3d75927e3a0bf2943634c92ad.zip
TSAGE: Bugfixes for Blue Force scene 315 - Police station when booking gang evidence
-rw-r--r--engines/tsage/blue_force/blueforce_scenes3.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes3.cpp b/engines/tsage/blue_force/blueforce_scenes3.cpp
index 6edd6d1aaa..5f88a37d8f 100644
--- a/engines/tsage/blue_force/blueforce_scenes3.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes3.cpp
@@ -717,7 +717,8 @@ bool Scene315::Barry::startAction(CursorType action, Event &event) {
scene->_stripNumber = 3174;
scene->setAction(&scene->_action1);
} else {
- if (!scene->_field1B6C & (scene->_field1B66 == 1)) {
+ ++scene->_field1B66;
+ if (!scene->_field1B6C && (scene->_field1B66 == 1)) {
scene->_field1B6C = 1;
scene->_stripNumber = 3169;
} else {
@@ -737,6 +738,7 @@ bool Scene315::Barry::startAction(CursorType action, Event &event) {
bool Scene315::SutterSlot::startAction(CursorType action, Event &event) {
Scene315 *scene = (Scene315 *)BF_GLOBALS._sceneManager._scene;
+ scene->_currentCursor = action;
switch (action) {
case INV_GREENS_GUN:
@@ -1175,6 +1177,7 @@ void Scene315::signal() {
if (ctr == 1) {
BF_GLOBALS._deathReason = 20;
BF_GLOBALS._sound1.fadeOut2(NULL);
+ BF_GLOBALS._sceneManager.changeScene(666);
} else if ((BF_GLOBALS._bookmark != bBookedFrankie) || !BF_GLOBALS.getFlag(onDuty)) {
BF_GLOBALS._sound1.fadeOut2(NULL);
BF_GLOBALS._sceneManager.changeScene(190);