]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/BattleState.h
fixed a bug in BattleState::PreviousHero()
[l2e.git] / src / battle / BattleState.h
index a4f403741e5dd72dfcbe731072a09feecccb8e16..0143fe0fac21cefd940e2e9a48fb50dfa7df2321 100644 (file)
@@ -93,7 +93,7 @@ public:
 
        void NextHero();
        bool BeforeFirstHero() const { return activeHero < 0; }
-       void PreviousHero() { --activeHero; }
+       void PreviousHero();
        void SwapHeroes(int lhs, int rhs);
        Hero &ActiveHero() { return heroes[activeHero]; }
        const Hero &ActiveHero() const { return heroes[activeHero]; }
@@ -161,8 +161,6 @@ public:
        void RenderSmallHeroTags(SDL_Surface *screen, const geometry::Vector<int> &offset);
 
 private:
-       void LoadSpellMenu(std::vector<Hero>::size_type heroIndex);
-       void LoadIkariMenu(std::vector<Hero>::size_type heroIndex);
        void LoadInventory();
 
        Uint16 CalculateDamage(const Stats &attacker, const Stats &defender) const;