The International Simutrans Forum


Author Topic: Random map does not use full range  (Read 1371 times)

0 Members and 1 Guest are viewing this topic.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20385
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Random map does not use full range
« on: September 29, 2013, 12:30:46 AM »
In line 500 of, we have:

Code: [Select]
knr = simrand(9999);

However, the maximum random seed for generating new maps is now 2147483647. I suggest, therefore, substituting it with:

Code: [Select]
knr = simrand(2147483647);

so that players using the "random map" feature can gain access to the full range of randomly generated maps.