2
0
Tomasz Zieliński 2 жил өмнө
parent
commit
651b1a8bea

+ 0 - 2
lib/mapObjects/CGHeroInstance.cpp

@@ -437,8 +437,6 @@ void CGHeroInstance::onHeroVisit(const CGHeroInstance * h) const
 	}
 	else if(ID == Obj::PRISON)
 	{
-		int txt_id;
-
 		if (cb->getHeroCount(h->tempOwner, false) < VLC->settings()->getInteger(EGameSettings::HEROES_PER_PLAYER_ON_MAP_CAP))//free hero slot
 		{
 			//update hero parameters