Skip to content

Commit

Permalink
TSAGE: R2R - Add a hack to avoid the display of giant character in ci…
Browse files Browse the repository at this point in the history
…rcular hall (scene 3375)
  • Loading branch information
Strangerke committed Nov 22, 2013
1 parent be41405 commit b76b301
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions engines/tsage/ringworld2/ringworld2_scenes3.cpp
Expand Up @@ -1996,11 +1996,11 @@ void Scene3375::postInit(SceneObjectList *OwnerList) {
setZoomPercents(126, 55, 200, 167);
R2_GLOBALS._player.postInit();

if (R2_GLOBALS._player._characterIndex == R2_SEEKER) {
if (R2_GLOBALS._player._characterIndex == R2_SEEKER)
R2_GLOBALS._player._moveDiff = Common::Point(5, 3);
} else {
else
R2_GLOBALS._player._moveDiff = Common::Point(3, 2);
}

R2_GLOBALS._player.changeZoom(-1);

switch (R2_GLOBALS._player._characterIndex) {
Expand Down Expand Up @@ -2191,6 +2191,14 @@ void Scene3375::signal() {
_companion2._shade = 4;
_webbster._effect = EFFECT_SHADED2;
_webbster._shade = 4;

// HACK: Reset zooms in order to avoid giant characters on the upper right of the screen
R2_GLOBALS._player.setZoom(-1);
_companion1.setZoom(-1);
_companion2.setZoom(-1);
_webbster.setZoom(-1);
//

enterArea(_sceneMode);
break;
case 3379:
Expand Down

0 comments on commit b76b301

Please sign in to comment.