equal
deleted
inserted
replaced
1249 return t; |
1249 return t; |
1250 } while (--attempts); |
1250 } while (--attempts); |
1251 return NULL; |
1251 return NULL; |
1252 } |
1252 } |
1253 |
1253 |
1254 static const byte _num_initial_towns[3] = {11, 23, 46}; |
1254 static const byte _num_initial_towns[4] = {5, 11, 23, 46}; |
1255 |
1255 |
1256 bool GenerateTowns() |
1256 bool GenerateTowns() |
1257 { |
1257 { |
1258 uint num = 0; |
1258 uint num = 0; |
1259 uint n = ScaleByMapSize(_num_initial_towns[_opt.diff.number_towns] + (Random() & 7)); |
1259 uint n = ScaleByMapSize(_num_initial_towns[_opt.diff.number_towns] + (Random() & 7)); |