The International Simutrans Forum

Development => Bug Reports => Topic started by: jamespetts on September 29, 2013, 12:30:46 AM

Title: Random map does not use full range
Post by: jamespetts on September 29, 2013, 12:30:46 AM
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.