]> git.localhorst.tv Git - l2e.git/blobdiff - src/common/Hero.h
implemented spell sorting
[l2e.git] / src / common / Hero.h
index 77269c6b25572415a43c32da5e83cbd15c001f47..1905c815e9cac9cbb7549c0f276b8054a6c9a035 100644 (file)
@@ -71,6 +71,7 @@ public:
        bool HasRing() const { return ring; }
        bool HasJewel() const { return jewel; }
 
+       std::vector<const Spell *> &Spells() { return spells; }
        const std::vector<const Spell *> &Spells() const { return spells; }
 
        graphics::Sprite *BattleSprite() { return battleSprite; }