From 89794adebe4c4d796e6472004b5baf4b602178b5 Mon Sep 17 00:00:00 2001 From: truelight Date: Thu, 15 Mar 2007 14:34:10 +0000 Subject: (svn r9205) -Fix: if you started openttd with '-g' you got the same map every run --- src/openttd.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/openttd.cpp') diff --git a/src/openttd.cpp b/src/openttd.cpp index 5a9c7499c..3e5bd0bd8 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -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; -- cgit v1.2.3-54-g00ecf