From 781648ada3529a98b13c948b4ed13e410be629eb Mon Sep 17 00:00:00 2001 From: darkvater Date: Mon, 10 Jan 2005 14:43:00 +0000 Subject: (svn r1465) -Fix: [1099101] starting year patch goes out of range. Clamped year between 1920-2090 as wel as adding defines for it. --- main_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main_gui.c') diff --git a/main_gui.c b/main_gui.c index 2f21e7aef..82136abda 100644 --- a/main_gui.c +++ b/main_gui.c @@ -25,7 +25,7 @@ /* Min/Max date for scenario editor */ -static const uint MinDate = 0; // 1920-01-01 +static const uint MinDate = 0; // 1920-01-01 (MAX_YEAR_BEGIN_REAL) static const uint MaxDate = 29220; // 2000-01-01 extern void DoTestSave(); -- cgit v1.2.3-54-g00ecf