Skip to content

Commit

Permalink
WAGE: Improved a bit bounds calculation. Still bad
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Mar 9, 2016
1 parent 1f4af34 commit 37b5b64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engines/wage/design.cpp
Expand Up @@ -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 {
Expand Down

0 comments on commit 37b5b64

Please sign in to comment.