aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/blue_force
diff options
context:
space:
mode:
authorStrangerke2011-10-28 18:08:08 +0200
committerStrangerke2011-10-28 20:50:50 +0200
commit6fd2eff3e94cf43e0f5c60c319ca9c2654d3aa29 (patch)
tree9289eb21540de7981227a2fb6e1d50486d5eb078 /engines/tsage/blue_force
parent38aa82a4f502fd913a402c9183364ebfa4f85cce (diff)
downloadscummvm-rg350-6fd2eff3e94cf43e0f5c60c319ca9c2654d3aa29.tar.gz
scummvm-rg350-6fd2eff3e94cf43e0f5c60c319ca9c2654d3aa29.tar.bz2
scummvm-rg350-6fd2eff3e94cf43e0f5c60c319ca9c2654d3aa29.zip
TSAGE: Blue Force - Inside gang car (415): Fix a logic glitch, fix overlapping text when using rap on bullets
Diffstat (limited to 'engines/tsage/blue_force')
-rw-r--r--engines/tsage/blue_force/blueforce_scenes4.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes4.cpp b/engines/tsage/blue_force/blueforce_scenes4.cpp
index e2b890d167..f32f240a4a 100644
--- a/engines/tsage/blue_force/blueforce_scenes4.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes4.cpp
@@ -962,7 +962,7 @@ bool Scene415::BulletsInset::startAction(CursorType action, Event &event) {
Scene415 *scene = (Scene415 *)BF_GLOBALS._sceneManager._scene;
if (action == CURSOR_USE) {
- if (BF_GLOBALS.getFlag(fGotAutoWeapon)) {
+ if (BF_GLOBALS.getFlag(fGotBulletsFromDash)) {
FocusObject::startAction(action, event);
} else {
remove();
@@ -1001,7 +1001,6 @@ bool Scene415::TheBullets::startAction(CursorType action, Event &event) {
case INV_FOREST_RAP:
if (scene->_scoreBulletRapFlag) {
SceneItem::display2(415, 35);
- return true;
} else {
BF_GLOBALS._player.disableControl();
scene->_sceneMode = 0;
@@ -1009,7 +1008,7 @@ bool Scene415::TheBullets::startAction(CursorType action, Event &event) {
T2_GLOBALS._uiElements.addScore(50);
scene->_scoreBulletRapFlag = true;
}
- break;
+ return true;
default:
break;
}