aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/draw_v2.cpp
diff options
context:
space:
mode:
authorSven Hesse2008-05-03 20:08:46 +0000
committerSven Hesse2008-05-03 20:08:46 +0000
commitedff41b1c35100595d25d151db88a0ed7686a022 (patch)
tree0d1a5381d965e92ba16ff9ab6912ed5c99d752b6 /engines/gob/draw_v2.cpp
parent7e3ce73a584b04bbe18832c2f7f1dac1e30d98b6 (diff)
downloadscummvm-rg350-edff41b1c35100595d25d151db88a0ed7686a022.tar.gz
scummvm-rg350-edff41b1c35100595d25d151db88a0ed7686a022.tar.bz2
scummvm-rg350-edff41b1c35100595d25d151db88a0ed7686a022.zip
Correct o2_initScreen() for Woodruff (screen positioning, clipping and cursor limiting)
svn-id: r31846
Diffstat (limited to 'engines/gob/draw_v2.cpp')
-rw-r--r--engines/gob/draw_v2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp
index a4417f7f1d..8f7d5b325b 100644
--- a/engines/gob/draw_v2.cpp
+++ b/engines/gob/draw_v2.cpp
@@ -246,11 +246,11 @@ void Draw_v2::printTotText(int16 id) {
}
if (_renderFlags & RENDERFLAG_FROMSPLIT) {
- destY = _vm->_video->_splitHeight1;
+ destY = _vm->_video->_splitStart;
spriteBottom = READ_LE_UINT16(ptr + 6) - READ_LE_UINT16(ptr + 2);
if (_renderFlags & RENDERFLAG_DOUBLECOORDS)
spriteBottom *= 3;
- spriteBottom += _vm->_video->_splitHeight1;
+ spriteBottom += _vm->_video->_splitStart;
if (_renderFlags & RENDERFLAG_DOUBLECOORDS) {
spriteBottom += _backDeltaX;
destY += _backDeltaX;