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:
parent
4a8dbf2f2b
commit
d6dfd8bfbc
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user