Skip to content

Commit

Permalink
TSAGE: Fix for rotating in R2R maze scenes
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jun 30, 2013
1 parent 831c4db commit fcd53ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
11 changes: 6 additions & 5 deletions engines/tsage/ringworld2/ringworld2_scenes3.cpp
Expand Up @@ -2920,9 +2920,10 @@ void Scene3500::Action1::sub108670(int arg1) {
else
scene->_actor5.show();

if (scene->_actor1._frame % 2 == 0)
scene->_actor1._frameChange = _field1E;
scene->_actor1.setFrame(scene->_actor1.changeFrame());
if (scene->_actor1._frame % 2 == 0) {
scene->_actor1._frameChange = _field1E;
scene->_actor1.setFrame(scene->_actor1.changeFrame());
}

setActionIndex(0);
}
Expand Down Expand Up @@ -2993,7 +2994,7 @@ void Scene3500::Action1::signal() {
}
break;
case 1:
if ((scene->_actor1._frame % 2) == 0) {
if ((scene->_actor1._frame % 2) == 1) {
setDelay(1);
return;
}
Expand Down Expand Up @@ -3637,7 +3638,7 @@ void Scene3500::postInit(SceneObjectList *OwnerList) {
_item1.setDetails(Rect(0, 0, 320, 200), 3500, 0, -1, 2, 1, NULL);

_actor1.postInit();
_mazeDirection = 1;
_mazeDirection = MAZEDIR_NORTH;
_actor1.setup(1004, 1, _mazeDirection);
_actor1.setPosition(Common::Point(230, 135));
_actor1.fixPriority(200);
Expand Down
1 change: 1 addition & 0 deletions engines/tsage/ringworld2/ringworld2_scenes3.h
Expand Up @@ -650,6 +650,7 @@ class Scene3500 : public SceneExt {
Item4 _item5;
Item4 _item6;
Item4 _item7;
// Glyph of vessel on top of the maze ui
SceneActor _actor1;
SceneActor _actor2;
SceneActor _actor3;
Expand Down

0 comments on commit fcd53ac

Please sign in to comment.