(svn r8791) -Revert: r8790 Committed too much in last commit

This commit is contained in:
miham
2007-02-17 22:01:07 +00:00
parent 6e5dd7942f
commit c810aef43b
3 changed files with 127 additions and 104 deletions

View File

@@ -1088,12 +1088,12 @@ Town *CreateRandomTown(uint attempts, uint size_mode)
return NULL;
}
static const byte _num_initial_towns[3] = {4, 17, 29};
static const byte _num_initial_towns[3] = {11, 23, 46};
bool GenerateTowns(void)
{
uint num = 0;
uint n = ScaleByMapSize(_num_initial_towns[_opt.diff.number_towns] + (Random() & 3));
uint n = ScaleByMapSize(_num_initial_towns[_opt.diff.number_towns] + (Random() & 7));
SetGeneratingWorldProgress(GWP_TOWN, n);