mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r9205) -Fix: if you started openttd with '-g' you got the same map every run
This commit is contained in:
parent
eff72d1962
commit
41caaf4d14
|
@ -419,6 +419,8 @@ int ttd_main(int argc, char *argv[])
|
|||
_switch_mode = SM_LOAD;
|
||||
} else {
|
||||
_switch_mode = SM_NEWGAME;
|
||||
/* Give a random map */
|
||||
generation_seed = InteractiveRandom();
|
||||
}
|
||||
break;
|
||||
case 'G': generation_seed = atoi(mgo.opt); break;
|
||||
|
|
Loading…
Reference in New Issue