mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-20 20:19:35 +01:00
(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;
|
_switch_mode = SM_LOAD;
|
||||||
} else {
|
} else {
|
||||||
_switch_mode = SM_NEWGAME;
|
_switch_mode = SM_NEWGAME;
|
||||||
|
/* Give a random map */
|
||||||
|
generation_seed = InteractiveRandom();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'G': generation_seed = atoi(mgo.opt); break;
|
case 'G': generation_seed = atoi(mgo.opt); break;
|
||||||
|
Loading…
Reference in New Issue
Block a user