aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/blue_force/blueforce_scenes4.cpp
diff options
context:
space:
mode:
authorStrangerke2011-10-26 23:34:35 +0200
committerStrangerke2011-10-26 23:34:35 +0200
commitb679f19de36db99a8f08ccea3ac08b111c86de28 (patch)
treead356cd2cf4aad2b8a407cb53154f4d4c7dff212 /engines/tsage/blue_force/blueforce_scenes4.cpp
parenta6b447fb19a9aae3c3b070d25211ad7e7010c412 (diff)
downloadscummvm-rg350-b679f19de36db99a8f08ccea3ac08b111c86de28.tar.gz
scummvm-rg350-b679f19de36db99a8f08ccea3ac08b111c86de28.tar.bz2
scummvm-rg350-b679f19de36db99a8f08ccea3ac08b111c86de28.zip
TSAGE: Blue Force - Gang scene, fix Harrison text color, suppress useless error()
Diffstat (limited to 'engines/tsage/blue_force/blueforce_scenes4.cpp')
-rw-r--r--engines/tsage/blue_force/blueforce_scenes4.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes4.cpp b/engines/tsage/blue_force/blueforce_scenes4.cpp
index f1ebf5d6b6..a800ea60ee 100644
--- a/engines/tsage/blue_force/blueforce_scenes4.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes4.cpp
@@ -439,7 +439,11 @@ bool Scene410::Harrison::startAction(CursorType action, Event &event) {
PlayerMover *mover = new PlayerMover();
BF_GLOBALS._player.addMover(mover, &destPos, scene);
} else {
- SceneItem::display2(350, 13);
+ SceneItem::display(350, 13, SET_WIDTH, 300,
+ SET_X, 10 + GLOBALS._sceneManager._scene->_sceneBounds.left,
+ SET_Y, GLOBALS._sceneManager._scene->_sceneBounds.top + UI_INTERFACE_Y + 2,
+ SET_FONT, 4, SET_BG_COLOR, 1, SET_FG_COLOR, 32, SET_EXT_BGCOLOR, 49,
+ SET_EXT_FGCOLOR, 13, LIST_END);
}
} else if ((scene->_field1FBA != 0) && (scene->_field1FBC != 0)) {
BF_GLOBALS._player.disableControl();
@@ -450,11 +454,12 @@ bool Scene410::Harrison::startAction(CursorType action, Event &event) {
BF_GLOBALS.clearFlag(f1098Marina);
} else if ((BF_INVENTORY.getObjectScene(INV_HANDCUFFS) == 1) ||
(!scene->_field1FBA && (scene->_talkCount < 5))) {
- SceneItem::display2(350, 13);
+ SceneItem::display(350, 13, SET_WIDTH, 300,
+ SET_X, 10 + GLOBALS._sceneManager._scene->_sceneBounds.left,
+ SET_Y, GLOBALS._sceneManager._scene->_sceneBounds.top + UI_INTERFACE_Y + 2,
+ SET_FONT, 4, SET_BG_COLOR, 1, SET_FG_COLOR, 32, SET_EXT_BGCOLOR, 49,
+ SET_EXT_FGCOLOR, 13, LIST_END);
} else if (!scene->_field1FBA) {
- if (scene->_field1FBA)
- error("Error - want to cuff shooter, but he's cuffed already");
-
BF_GLOBALS._player.disableControl();
scene->_field1FBA = 1;
scene->_field1FBE = 1;