Răsfoiți Sursa

Remove unused variable.

Tomasz Zieliński 2 ani în urmă
părinte
comite
651b1a8bea
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  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