(svn r9205) -Fix: if you started openttd with '-g' you got the same map every run

This commit is contained in:
truelight 2007-03-15 14:34:10 +00:00
parent eff72d1962
commit 41caaf4d14
1 changed files with 2 additions and 0 deletions

View File

@ -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;