mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-25 12:14:46 +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)
|
if(pSettings.getStartingTown() != CMapGenOptions::CPlayerSettings::RANDOM_TOWN)
|
||||||
{
|
{
|
||||||
ss << ", " << GameConstants::PLAYER_COLOR_NAMES[pSettings.getColor().getNum()]
|
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…
x
Reference in New Issue
Block a user