diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wage/design.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp index d0b84f12e3..677efd00e1 100644 --- a/engines/wage/design.cpp +++ b/engines/wage/design.cpp @@ -214,6 +214,8 @@ void drawPixel(int x, int y, int color, void *data) { return; if (p->design && p->design->isBoundsCalculation()) { + if (x < 0 || y < 0) + return; if (p->thickness == 1) { p->design->adjustBounds(x, y); } else { |