aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2004-02-01 21:08:46 +0000
committerMax Horn2004-02-01 21:08:46 +0000
commit0176e4de25e7d1348f866408eeaadd9ccd714d0a (patch)
tree5f9c4f2c694abd0d770f2ec9af0413d25dec3b49
parent7b69cbc82767d8e3334e4696121734c9ace80921 (diff)
downloadscummvm-rg350-0176e4de25e7d1348f866408eeaadd9ccd714d0a.tar.gz
scummvm-rg350-0176e4de25e7d1348f866408eeaadd9ccd714d0a.tar.bz2
scummvm-rg350-0176e4de25e7d1348f866408eeaadd9ccd714d0a.zip
Fix for bug #880418 (COMI: Subtitle problems)
svn-id: r12710
-rw-r--r--scumm/nut_renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/nut_renderer.cpp b/scumm/nut_renderer.cpp
index 35e74281a2..428f361b06 100644
--- a/scumm/nut_renderer.cpp
+++ b/scumm/nut_renderer.cpp
@@ -263,7 +263,7 @@ void NutRenderer::drawShadowChar(int c, int x, int y, byte color, bool useMask)
y += offsetY[i];
color = cTable[i];
- if (y >= vs->height || x + vs->xstart >= vs->width) {
+ if (y >= vs->height || x >= vs->width) {
continue;
}