aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}