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