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