]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/HeroStatus.h
added 'change' menu state
[l2e.git] / src / menu / HeroStatus.h
index 2888b1555bb7d4f5f521c36d5bc446feec719090..27c048ec76807cc63bf8100e90de473d00a53cff 100644 (file)
@@ -24,7 +24,7 @@ public:
 
 public:
        void SetResources(const Resources *r) { res = r; }
-       void SetHero(const common::Hero *h) { hero = h; }
+       void SetHero(common::Hero **p, int h) { party = p; hero = h; }
 
        int Width() const;
        int Height() const;
@@ -34,7 +34,8 @@ public:
 
 private:
        const Resources *res;
-       const common::Hero *hero;
+       common::Hero **party;
+       int hero;
 
 };