[Freeciv-Dev] (PR#8870) moving some code in adjust_map().
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8870 >
> [jdorje - Mon May 31 06:14:50 2004]:
> - Why do you move the initialization of "tres"?
Never mind, this is because maxval is a global variable (which we should
fix later).
However there is a bug in your patch: you assume that all height values
are non-negative. This is not the case in gen5. The fix is probably to
use the same method as gen5 to get the initial minval and maxval values.
jason
|
|