mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-27 16:39:09 +00:00
(svn r9205) -Fix: if you started openttd with '-g' you got the same map every run
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user