Follow-up Comment #6, bug #16264 (project freeciv):

It is a bug in the generator 1 in smooth_int_map(). This function always
grows the height of the map instead of smoothing. It seems it causes a random
array overflow or value overflow.

Test with size 128, gen 1:

smooth=0, min=0, max=11999
smooth=1, min=3933, max=16807
smooth=2, min=7482, max=27183
smooth=3, min=12748, max=47017
smooth=4, min=21340, max=83428
smooth=5, min=36574, max=149872
smooth=6, min=62547, max=269996
smooth=7, min=106649, max=486398
smooth=8, min=183596, max=876739
smooth=9, min=318608, max=1581545
smooth=10, min=556284, max=2855252
smooth=11, min=975863, max=5158774
smooth=12, min=1718325, max=9327431



    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?16264>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to