X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FSmallHeroTag.cpp;h=408be3bdb547794760bd5c322ac207cb1322df8a;hb=ab063a95735fdb90e7c610015e9155283ba5eca6;hp=c6f8dafa4a3a1a71aebf9b71228c59087a17cd97;hpb=092a2dd175a4001a495c84ee85211734fb928c83;p=l2e.git diff --git a/src/battle/SmallHeroTag.cpp b/src/battle/SmallHeroTag.cpp index c6f8daf..408be3b 100644 --- a/src/battle/SmallHeroTag.cpp +++ b/src/battle/SmallHeroTag.cpp @@ -22,7 +22,7 @@ void SmallHeroTag::Render(SDL_Surface *screen, int width, int height, const math frame->Draw(screen, position, width, height); - if (battle->HeroPositionOccupied(index)) { + if (battle->GetBattle().HeroPositionOccupied(index)) { const Hero &hero(battle->HeroAt(index)); int gaugeWidth(width - 2 * frame->BorderWidth() - labels->Width());