X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FSmallHeroTag.cpp;h=408be3bdb547794760bd5c322ac207cb1322df8a;hb=087783315ac5955c17bb3b051c9351f321653df6;hp=c6f8dafa4a3a1a71aebf9b71228c59087a17cd97;hpb=eb2ad5ffd08128d31af32f3929a3295fcfa251e9;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());