diff options
Diffstat (limited to 'engines/sci/graphics/paint32.cpp')
-rw-r--r-- | engines/sci/graphics/paint32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/paint32.cpp b/engines/sci/graphics/paint32.cpp index 049ffc8683..bf7c73623e 100644 --- a/engines/sci/graphics/paint32.cpp +++ b/engines/sci/graphics/paint32.cpp @@ -91,7 +91,7 @@ void GfxPaint32::plotter(int x, int y, int color, void *data) { const uint16 bitmapWidth = properties.bitmap->getWidth(); const uint16 bitmapHeight = properties.bitmap->getHeight(); const uint32 index = bitmapWidth * y + x; - + // Only draw the points in the bitmap, and ignore the rest. SSCI scripts // can draw lines ending outside the visible area (e.g. negative coordinates) if (x >= 0 && x < bitmapWidth && y >= 0 && y < bitmapHeight) { |