Follow-up Comment #2, bug #20567 (project freeciv):

Turned out that start position assignment does not use mapseed, but main
gameseed, so the main random state has been changing in mapgenerator. This
does not explain lua script randomness problems, but attached patch anyway
changes this so that mapseed is used for startposition assignment too, and the
main random state is not restored to the point *before* initializing mapseed
from it, but initialization of mapseed does push random state forward as seen
by the map generator caller.

(file #17358)
    _______________________________________________________

Additional Item Attachment:

File name: Mapseed.patch                  Size:1 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to