X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FBattleState.h;h=0143fe0fac21cefd940e2e9a48fb50dfa7df2321;hb=68510cd21025741773b6746376a24602be791829;hp=a4f403741e5dd72dfcbe731072a09feecccb8e16;hpb=2a3e39f2960bd359dfc8df8f439281dec30c633a;p=l2e.git diff --git a/src/battle/BattleState.h b/src/battle/BattleState.h index a4f4037..0143fe0 100644 --- a/src/battle/BattleState.h +++ b/src/battle/BattleState.h @@ -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 &offset); private: - void LoadSpellMenu(std::vector::size_type heroIndex); - void LoadIkariMenu(std::vector::size_type heroIndex); void LoadInventory(); Uint16 CalculateDamage(const Stats &attacker, const Stats &defender) const;