X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FGauge.h;fp=src%2Fgraphics%2FGauge.h;h=b5e30c28a305a2327e6c1843301bccbbde6e5f8b;hb=1162be37102b24df11f469495c0184f3f9a26ba0;hp=01b7aeb7970d778a118afc46f1f44486e5c4bea1;hpb=85ac93ffe31bfeee54aa6167111f1c15f14bc405;p=l2e.git diff --git a/src/graphics/Gauge.h b/src/graphics/Gauge.h index 01b7aeb..b5e30c2 100644 --- a/src/graphics/Gauge.h +++ b/src/graphics/Gauge.h @@ -23,7 +23,7 @@ public: public: int MinWidth() const { return startWidth + endWidth; } int Height() const { return height; } - void Draw(SDL_Surface *dest, geometry::Point position, int width, Uint8 fill) const; + void Draw(SDL_Surface *dest, const geometry::Point &position, int width, Uint8 fill) const; private: SDL_Surface *surface;