X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FHeroTag.cpp;fp=src%2Fbattle%2FHeroTag.cpp;h=713fb8fe35774fbf9766ef72f8791236d8d6b277;hb=bfcf2f4de43077249b82af03a0e1b8281b8490e3;hp=d67368ff9b98bf4d0d097e97c03633b0416993c1;hpb=9413020156a8eecdb56879510d1216e894a9331f;p=l2e.git diff --git a/src/battle/HeroTag.cpp b/src/battle/HeroTag.cpp index d67368f..713fb8f 100644 --- a/src/battle/HeroTag.cpp +++ b/src/battle/HeroTag.cpp @@ -39,7 +39,7 @@ void HeroTag::Render(SDL_Surface *screen, int width, int height, Point posi Vector heroOffset( (align == LEFT) ? 3 : width - hero->Sprite()->Width() - 3, height - hero->Sprite()->Height() - 3); - hero->Sprite()->Draw(screen, position + heroOffset); + hero->Sprite()->Draw(screen, position + heroOffset, 0, hero->Health() > 0 ? 0 : 2); } }