[Freeciv-Dev] (PR#10456) map.huts value is absolute?
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10456 >
> [jdorje - Jeu. Oct. 07 02:18:08 2004]:
>
> map.huts appears to be the exact number of huts that appears on the
map.
>
> In mapgen.c there is a comparison:
>
> while (number * map_num_tiles() >= 2000 && ...) {
>
> where "number" is initialized to map.huts and is reduced by 1 for
each
> placed hut. However since map_num_tiles returns a value like 4000
this
> logic is pretty meaningless.
>
> It would be better to change map.huts to be a percent or permille.
>
> jason
>
>
>
I think the huts has to still a absolute value (the number of players!
too ;-) )
Marcelo
|
|