Skip to content

Commit

Permalink
WAGE: Simplified code
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Jan 4, 2016
1 parent 5c129d6 commit 4cbabd8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions engines/wage/design.cpp
Expand Up @@ -238,11 +238,8 @@ void Design::drawRect(Graphics::Surface *surface, Common::ReadStream &in, bool m
}
Common::Rect inner(x1 + borderThickness, y1 + borderThickness, x2 - borderThickness, y2 - borderThickness);

if (fillType <= patterns.size()) {
pd.fillType = fillType;
pd.thickness = 1;
if (fillType <= patterns.size())
drawFilledRect(outer, kColorBlack, drawPixel, &pd);
}

pd.fillType = borderFillType;
pd.thickness = borderThickness;
Expand Down

0 comments on commit 4cbabd8

Please sign in to comment.