]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Gauge.cpp
broadened animation runner interface
[l2e.git] / src / graphics / Gauge.cpp
index 09405a2069ca15da6b560df6a9328d95e0ceec71..027d6b1313d541cc0afc7c44ccada3abe967b224 100644 (file)
@@ -11,7 +11,7 @@ using geometry::Point;
 
 namespace graphics {
 
-void Gauge::Draw(SDL_Surface *dest, Point<int> position, int width, Uint8 fill) const {
+void Gauge::Draw(SDL_Surface *dest, const Point<int> &position, int width, Uint8 fill) const {
        SDL_Rect srcRect, destRect;
 
        int filledWidth = fill * (width - startWidth - endWidth) / 255;