aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/draw_v2.cpp
diff options
context:
space:
mode:
authorSven Hesse2009-08-08 21:43:07 +0000
committerSven Hesse2009-08-08 21:43:07 +0000
commit256a27350a1896137a4416eb5db26662c7fab2ee (patch)
tree272221a0b552a586e626e724bba40328afece93f /engines/gob/draw_v2.cpp
parentc0e7f926521b01af6459615a6844b52f202cb436 (diff)
downloadscummvm-rg350-256a27350a1896137a4416eb5db26662c7fab2ee.tar.gz
scummvm-rg350-256a27350a1896137a4416eb5db26662c7fab2ee.tar.bz2
scummvm-rg350-256a27350a1896137a4416eb5db26662c7fab2ee.zip
Changed the scroll-handling to be more like the original. This fixes bug #2832362 ("GOB3: Scrolling locked after cutscene")
svn-id: r43147
Diffstat (limited to 'engines/gob/draw_v2.cpp')
-rw-r--r--engines/gob/draw_v2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp
index a1074d7ecb..486b12b022 100644
--- a/engines/gob/draw_v2.cpp
+++ b/engines/gob/draw_v2.cpp
@@ -46,6 +46,8 @@ Draw_v2::Draw_v2(GobEngine *vm) : Draw_v1(vm) {
}
void Draw_v2::initScreen() {
+ _vm->_game->_preventScroll = false;
+
_scrollOffsetX = 0;
_scrollOffsetY = 0;