]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/BattleState.h
added simple victory state
[l2e.git] / src / battle / BattleState.h
index 0f3216e4618b51fe3a0f822086dd2ca2eb013ced..cfd344dea4bce431b8f9a67adb534d1097a23520 100644 (file)
@@ -45,7 +45,8 @@ public:
        , battle(game->heroesLayout, monstersLayout)
        , attackTypeMenu(res->attackIcons)
        , moveMenu(res->moveIcons)
-       , ranAway(false) { assert(background && game); }
+       , ranAway(false), alreadyPushed(false)
+       { assert(background && game); }
 
 public:
        void AddMonster(const Monster &);
@@ -122,6 +123,7 @@ private:
        math::Vector<int> offset;
 
        bool ranAway;
+       bool alreadyPushed;
 
 };