News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Random map does not use full range

Started by jamespetts, September 29, 2013, 12:30:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jamespetts

In line 500 of welt.cc, we have:


knr = simrand(9999);


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


knr = simrand(2147483647);


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

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.