Skip to content

Commit

Permalink
TSAGE: Fixed the yacht in Blue Force scene 350 to be in the background
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Sep 24, 2011
1 parent 0e6e35b commit d609788
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions engines/tsage/blue_force/blueforce_scenes3.cpp
Expand Up @@ -2516,15 +2516,15 @@ bool Scene350::Yacht::startAction(CursorType action, Event &event) {
if ((BF_GLOBALS._dayNumber == 1) || (BF_GLOBALS._dayNumber == 4)) {
BF_GLOBALS._player.disableControl();
scene->_sceneMode = 1;
scene->setAction(&scene->_sequenceManager1, scene, 3512, &BF_GLOBALS._player, &scene->_boat, NULL);
scene->setAction(&scene->_sequenceManager1, scene, 3512, &BF_GLOBALS._player, &scene->_yachtDoor, NULL);
return true;
}
} else {
_flag = true;
scene->_sceneMode = 1;
BF_GLOBALS._player.disableControl();
scene->setAction(&scene->_sequenceManager1, scene, BF_GLOBALS.getFlag(gunDrawn) ? 3504 : 3505,
&BF_GLOBALS._player, &scene->_boat, NULL);
&BF_GLOBALS._player, &scene->_yachtDoor, NULL);
return true;
}
break;
Expand Down Expand Up @@ -2640,14 +2640,14 @@ void Scene350::postInit(SceneObjectList *OwnerList) {
if ((BF_GLOBALS._dayNumber != 1) && (BF_GLOBALS._dayNumber != 4)) {
_yacht.setDetails(28, 350, 15, 16, 17, 1);
} else {
_boat.postInit();
_boat.setVisage(350);
_boat.setStrip(3);
_boat.setFrame(1);
_boat.fixPriority(72);
_boat.setPosition(Common::Point(40, 74));
_yachtDoor.postInit();
_yachtDoor.setVisage(350);
_yachtDoor.setStrip(3);
_yachtDoor.setFrame(1);
_yachtDoor.fixPriority(72);
_yachtDoor.setPosition(Common::Point(40, 74));

_yachtBody.setup(350, 1, 1, 129, 142, -1);
_yachtBody.setup(350, 1, 1, 129, 142, 255);

if (BF_GLOBALS.getFlag(fBackupIn350)) {
_harrison.postInit();
Expand Down
4 changes: 2 additions & 2 deletions engines/tsage/blue_force/blueforce_scenes3.h
Expand Up @@ -467,8 +467,8 @@ class Scene350: public SceneExt {
public:
SequenceManager _sequenceManager1, _sequenceManager2, _sequenceManager3;
NamedObject _harrison;
SceneObject _boat;
SceneObject _yachtBody;
SceneObject _yachtDoor;
BackgroundSceneObject _yachtBody;
Hook _hook;
Object5 _object5;
NamedHotspot _item1, _item2, _item3, _item4;
Expand Down

0 comments on commit d609788

Please sign in to comment.