]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/HeroTag.h
switched some (x,y) and (w,h) pairs to vectors
[l2e.git] / src / battle / HeroTag.h
index 43dc66112a4da947404105d9a65fd6bd7a649452..8750081148cb8c94b58c845d411cf6cfd462947a 100644 (file)
@@ -35,7 +35,7 @@ public:
        const graphics::Sprite *HeroSprite() const;
        geometry::Vector<int> HeroOffset() const;
 
-       void Render(SDL_Surface *screen, int width, int height, geometry::Vector<int> position, bool active) const;
+       void Render(SDL_Surface *screen, int width, int height, const geometry::Vector<int> &position, bool active) const;
 
 private:
        const BattleState *battle;