diff --git a/client/CPlayerInterface.cpp b/client/CPlayerInterface.cpp index e9a03c3d3..35bffe24a 100644 --- a/client/CPlayerInterface.cpp +++ b/client/CPlayerInterface.cpp @@ -720,17 +720,6 @@ void CPlayerInterface::battleObstaclesRemoved(const std::set & removedObst EVENT_HANDLER_CALLED_BY_CLIENT; BATTLE_EVENT_POSSIBLE_RETURN; -// for(std::set::const_iterator it = removedObstacles.begin(); it != removedObstacles.end(); ++it) -// { -// for(std::map< int, CDefHandler * >::iterator itBat = battleInt->idToObstacle.begin(); itBat != battleInt->idToObstacle.end(); ++itBat) -// { -// if(itBat->first == *it) //remove this obstacle -// { -// battleInt->idToObstacle.erase(itBat); -// break; -// } -// } -// } //update accessible hexes battleInt->redrawBackgroundWithHexes(battleInt->activeStack); } diff --git a/client/CPlayerInterface.h b/client/CPlayerInterface.h index 28b062364..4bff5d61a 100644 --- a/client/CPlayerInterface.h +++ b/client/CPlayerInterface.h @@ -29,7 +29,6 @@ class CButton; class CToggleGroup; -class CDefHandler; struct TryMoveHero; class CGHeroInstance; class CAdvMapInt;