1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00
This commit is contained in:
AlexVinS 2016-10-16 03:41:43 +03:00
parent e4816c0639
commit 523e33a5e5
2 changed files with 0 additions and 12 deletions

View File

@ -720,17 +720,6 @@ void CPlayerInterface::battleObstaclesRemoved(const std::set<si32> & removedObst
EVENT_HANDLER_CALLED_BY_CLIENT; EVENT_HANDLER_CALLED_BY_CLIENT;
BATTLE_EVENT_POSSIBLE_RETURN; BATTLE_EVENT_POSSIBLE_RETURN;
// for(std::set<si32>::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 //update accessible hexes
battleInt->redrawBackgroundWithHexes(battleInt->activeStack); battleInt->redrawBackgroundWithHexes(battleInt->activeStack);
} }

View File

@ -29,7 +29,6 @@
class CButton; class CButton;
class CToggleGroup; class CToggleGroup;
class CDefHandler;
struct TryMoveHero; struct TryMoveHero;
class CGHeroInstance; class CGHeroInstance;
class CAdvMapInt; class CAdvMapInt;