]> git.localhorst.tv Git - l2e.git/blobdiff - src/common/Item.h
added item target selection
[l2e.git] / src / common / Item.h
index 2f662074c286e75b619a8d539899637fd96ba427..1dde8878f7c0d4f2dfe79fcd80e516ec150f4edd 100644 (file)
@@ -79,8 +79,9 @@ public:
        void SetName(const char *n) { name = n; }
        void SetMenuIcon(const graphics::Sprite *icon) { menuIcon = icon; }
        void SetUsableInBattle() { usability |= USABILITY_BATTLE; }
+       void SetTargettingMode(int m) { targettingMode = m; }
 
-private:
+public:
        enum Usability {
                USABILITY_MOST_USEFUL = 1,
                USABILITY_EQUIPABLE = 2,