1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-19 21:10:12 +02:00

Remove unused variable.

This commit is contained in:
Tomasz Zieliński 2023-06-08 09:27:55 +02:00
parent 351d596bdc
commit 651b1a8bea

View File

@ -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