1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

- Fixed a bug when starting a random map with a town added by a mod

This commit is contained in:
beegee1 2013-08-22 18:08:42 +00:00
parent 4a8dbf2f2b
commit d6dfd8bfbc

View File

@ -72,7 +72,7 @@ std::string CMapGenerator::getMapDescription() const
if(pSettings.getStartingTown() != CMapGenOptions::CPlayerSettings::RANDOM_TOWN)
{
ss << ", " << GameConstants::PLAYER_COLOR_NAMES[pSettings.getColor().getNum()]
<< " town choice is " << ETownType::names[pSettings.getStartingTown()];
<< " town choice is " << VLC->townh->factions[pSettings.getStartingTown()]->name;
}
}