X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fcommon%2FHero.h;fp=src%2Fcommon%2FHero.h;h=b12e8f5b50c8e3ae719814d42c638f08ed057c0d;hb=57a75f13e98f4b5d311c2d3b9d9ff637120c5ee2;hp=ca4651c947d66003583879145d4b44b4c304b9c7;hpb=e4f678d8cce5408590178bc873fde1754c037d0d;p=l2e.git diff --git a/src/common/Hero.h b/src/common/Hero.h index ca4651c..b12e8f5 100644 --- a/src/common/Hero.h +++ b/src/common/Hero.h @@ -72,6 +72,7 @@ public: const std::vector &Spells() const { return spells; } graphics::Sprite *BattleSprite() { return battleSprite; } + const graphics::Sprite *BattleSprite() const { return battleSprite; } graphics::Animation *MeleeAnimation() { return meleeAnimation; } graphics::Animation *AttackAnimation() { return attackAnimation; } graphics::Animation *SpellAnimation() { return spellAnimation; }