summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'main_gui.c')
-rw-r--r--main_gui.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main_gui.c b/main_gui.c
index 581bfe8e8..f9f81c299 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -29,14 +29,15 @@
#include "train.h"
#include "unmovable_map.h"
#include "screenshot.h"
+#include "date.h"
#include "network_data.h"
#include "network_client.h"
#include "network_server.h"
/* Min/Max date for scenario editor */
-static const uint MinDate = 0; // 1920-01-01 (MAX_YEAR_BEGIN_REAL)
-static const uint MaxDate = 29220; // 2000-01-01
+static const Date MinDate = 0; // 1920-01-01 (MAX_YEAR_BEGIN_REAL)
+static const Date MaxDate = 29220; // 2000-01-01
static int _rename_id;
static int _rename_what;