diff src/openttd.cpp @ 6309:3ae0ee930b53 draft

(svn r9205) -Fix: if you started openttd with '-g' you got the same map every run
author truelight <truelight@openttd.org>
date Thu, 15 Mar 2007 14:34:10 +0000
parents dafe7e537d11
children d5d3f3379eb0
line wrap: on
line diff
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -419,6 +419,8 @@
 				_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;