]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/states/SelectIkari.h
store an application handle in each state
[l2e.git] / src / battle / states / SelectIkari.h
index a7383a0535fd690b6f38b063b06366852f8acf71..136436f6c680b251cbe8e743ef7d6a4c8a1a2ff5 100644 (file)
@@ -20,7 +20,7 @@ class SelectIkari
 
 public:
        SelectIkari(BattleState *battle, SelectAttackType *parent)
-       : ctrl(0), battle(battle), parent(parent) { }
+       : battle(battle), parent(parent) { }
 
 public:
        virtual void HandleEvents(const app::Input &);
@@ -41,7 +41,6 @@ private:
        void RenderMenu(SDL_Surface *, const geometry::Vector<int> &offset);
 
 private:
-       app::Application *ctrl;
        BattleState *battle;
        SelectAttackType *parent;