mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Do not ban heroes in Prisons, they might be rehired after they are defeated.
Restore hero to pool if Prison fails to be placed.
This commit is contained in:
@@ -509,17 +509,6 @@ void CMapGenerator::banQuestArt(const ArtifactID & id)
|
||||
map->getMap(this).allowedArtifact.erase(id);
|
||||
}
|
||||
|
||||
void CMapGenerator::banHero(const HeroTypeID & id)
|
||||
{
|
||||
map->getMap(this).banHero(id);
|
||||
}
|
||||
|
||||
void CMapGenerator::unbanHero(const HeroTypeID & id)
|
||||
{
|
||||
map->getMap(this).unbanHero(id);
|
||||
}
|
||||
|
||||
|
||||
Zone * CMapGenerator::getZoneWater() const
|
||||
{
|
||||
for(auto & z : map->getZones())
|
||||
|
||||
Reference in New Issue
Block a user