aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/neverhood/graphics.h')
-rw-r--r--engines/neverhood/graphics.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/neverhood/graphics.h b/engines/neverhood/graphics.h
index 9ab0d87ab9..703e274576 100644
--- a/engines/neverhood/graphics.h
+++ b/engines/neverhood/graphics.h
@@ -62,12 +62,12 @@ struct NRect {
typedef Common::Array<NRect> NRectArray;
-// TODO: Use Common::Rect
+// TODO: Use Common::Rect
struct NDrawRect {
int16 x, y, width, height;
NDrawRect() : x(0), y(0), width(0), height(0) {}
NDrawRect(int16 x0, int16 y0, int16 width0, int16 height0) : x(x0), y(y0), width(width0), height(height0) {}
- int16 x2() { return x + width; }
+ int16 x2() { return x + width; }
int16 y2() { return y + height; }
void set(int16 x0, int16 y0, int16 width0, int16 height0) {
x = x0;