Changeset - r3889:8d9c2264341d
[Not reviewed]
master
0 1 0
rubidium - 18 years ago 2006-05-22 10:08:23
rubidium@openttd.org
(svn r4945) Fix (r3726): make -t command line option (set starting date/year) work again
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
openttd.c
Show inline comments
 
@@ -46,6 +46,7 @@
 
#include "waypoint.h"
 
#include "ai/ai.h"
 
#include "train.h"
 
#include "settings.h"
 

	
 
#include <stdarg.h>
 

	
 
@@ -406,7 +407,7 @@ int ttd_main(int argc, char* argv[])
 
	if (sounddriver[0]) ttd_strlcpy(_ini_sounddriver, sounddriver, sizeof(_ini_sounddriver));
 
	if (videodriver[0]) ttd_strlcpy(_ini_videodriver, videodriver, sizeof(_ini_videodriver));
 
	if (resolution[0]) { _cur_resolution[0] = resolution[0]; _cur_resolution[1] = resolution[1]; }
 
	if (startdate != (uint)-1) _patches.starting_date = startdate;
 
	if (startdate != (uint)-1) _patches_newgame.starting_date = startdate;
 

	
 
	if (_dedicated_forks && !dedicated) _dedicated_forks = false;
 

	
0 comments (0 inline, 0 general)