aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/modal.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-12-11 19:48:06 +0100
committerEugene Sandulenko2016-12-11 19:49:07 +0100
commitd6317c9bc8cdaa5f53f00226d55f7233722109e3 (patch)
tree76fade53a599dc9ffd160c7ebaeccb9c4d20f060 /engines/fullpipe/modal.cpp
parent42a1c9c664495547256cf8e750db8c326200c303 (diff)
downloadscummvm-rg350-d6317c9bc8cdaa5f53f00226d55f7233722109e3.tar.gz
scummvm-rg350-d6317c9bc8cdaa5f53f00226d55f7233722109e3.tar.bz2
scummvm-rg350-d6317c9bc8cdaa5f53f00226d55f7233722109e3.zip
FULLPIPE: Center map on opening. Fixes bug #9668
Diffstat (limited to 'engines/fullpipe/modal.cpp')
-rw-r--r--engines/fullpipe/modal.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/fullpipe/modal.cpp b/engines/fullpipe/modal.cpp
index a20d6fcb1b..8af6176566 100644
--- a/engines/fullpipe/modal.cpp
+++ b/engines/fullpipe/modal.cpp
@@ -650,6 +650,8 @@ void ModalMap::initMap() {
_rect2.right = _rect2.left + 800;
_rect2.bottom = _rect2.top + 600;
+ g_fp->_sceneRect = _rect2;
+
_mapScene->updateScrolling2();
_pic = _mapScene->getPictureObjectById(PIC_MAP_I02, 0);