Selaa lähdekoodia

Remove unused variable.

Tomasz Zieliński 2 vuotta sitten
vanhempi
sitoutus
651b1a8bea
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 2
      lib/mapObjects/CGHeroInstance.cpp

+ 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