From: Daniel Karbach Date: Sun, 4 Nov 2012 17:15:02 +0000 (+0100) Subject: fixed clear call in battle state X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=4757f0063d019bdc93be9cb2d07b6d9fa654000e;p=l2e.git fixed clear call in battle state --- diff --git a/src/battle/BattleState.cpp b/src/battle/BattleState.cpp index be1ef34..7c8b330 100644 --- a/src/battle/BattleState.cpp +++ b/src/battle/BattleState.cpp @@ -113,6 +113,7 @@ void BattleState::OnEnterState(SDL_Surface *screen) { itemMenu = *res->itemMenuProperties; LoadInventory(); + ClearAllAttacks(); } void BattleState::LoadInventory() { @@ -127,7 +128,6 @@ void BattleState::LoadInventory() { itemMenu.AddEmptyEntry(); } } - ClearAllAttacks(); } void BattleState::OnExitState(SDL_Surface *screen) {