aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorJonathan Gray2003-01-28 00:42:32 +0000
committerJonathan Gray2003-01-28 00:42:32 +0000
commitf1b4ec757131d8534fc78116405a9b4fd3fe0b07 (patch)
treeccdc6428b5a0f6d1c959a08d725abff6169b1598 /scumm/gfx.cpp
parentf9a4b231daf8e6815ab943c5685c6f5dc0311cf4 (diff)
downloadscummvm-rg350-f1b4ec757131d8534fc78116405a9b4fd3fe0b07.tar.gz
scummvm-rg350-f1b4ec757131d8534fc78116405a9b4fd3fe0b07.tar.bz2
scummvm-rg350-f1b4ec757131d8534fc78116405a9b4fd3fe0b07.zip
remove 'small drawing optimisation' that breaks drawing of vertically scrolling rooms, and yes fingolfin in answer to the message left in the commit message on rev 2.26 it causes regression :)
svn-id: r6562
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 2a52e180af..14438616b8 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -436,10 +436,10 @@ void Gdi::updateDirtyScreen(VirtScreen *vs)
w += 8;
continue;
}
- // FIXME - why was this code in there? I don't see why it would be needed...
-// if (_vm->_features & GF_AFTER_V7)
-// drawStripToScreen(vs, start * 8, w, 0, vs->height);
-// else
+ // handle vertically scrolling rooms
+ if (_vm->_features & GF_AFTER_V7)
+ drawStripToScreen(vs, start * 8, w, 0, vs->height);
+ else
drawStripToScreen(vs, start * 8, w, top, bottom);
w = 8;
}