X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FSmallHeroTag.cpp;h=0bc160a33b4078f35465db81700408cf94a08a96;hb=0542849dfccfec1ce1477265fa0fee2401a8fb23;hp=7843cc0cba29c62e4884ae814ce3a8886718b20e;hpb=c20927cf8ab9bb7526f641850c3997f14c66f06e;p=l2e.git diff --git a/src/battle/SmallHeroTag.cpp b/src/battle/SmallHeroTag.cpp index 7843cc0..0bc160a 100644 --- a/src/battle/SmallHeroTag.cpp +++ b/src/battle/SmallHeroTag.cpp @@ -8,13 +8,11 @@ #include "SmallHeroTag.h" #include "BattleState.h" -#include "../geometry/operators.h" #include "../geometry/Vector.h" #include "../graphics/Font.h" #include "../graphics/Frame.h" #include "../graphics/Gauge.h" -using geometry::Point; using geometry::Vector; using graphics::Font; using graphics::Frame; @@ -22,7 +20,7 @@ using graphics::Sprite; namespace battle { -void SmallHeroTag::Render(SDL_Surface *screen, int width, int height, geometry::Point position) const { +void SmallHeroTag::Render(SDL_Surface *screen, int width, int height, geometry::Vector position) const { const Resources &r(battle->Res()); const Frame *frame((index == battle->MaxHeroes() - 1) ? r.lastSmallHeroTagFrame : r.smallHeroTagFrame); const Font *font(r.normalFont);