From 61dfd74e442c622c280f2de6a7785788b5f19733 Mon Sep 17 00:00:00 2001 From: Tyler Trahan Date: Sun, 13 Aug 2023 15:03:45 -0400 Subject: [PATCH] Codechange: Use correct type for max timetable start years constant (#11197) --- src/timetable.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/timetable.h b/src/timetable.h index 2a1ef830c4..efa38599e3 100644 --- a/src/timetable.h +++ b/src/timetable.h @@ -11,9 +11,10 @@ #define TIMETABLE_H #include "date_type.h" +#include "timer/timer_game_calendar.h" #include "vehicle_type.h" -static const uint8_t MAX_TIMETABLE_START_YEARS = 15; ///< The maximum start date offset, in years. +static const TimerGameCalendar::Year MAX_TIMETABLE_START_YEARS = 15; ///< The maximum start date offset, in years. void ShowTimetableWindow(const Vehicle *v); void UpdateVehicleTimetable(Vehicle *v, bool travelling);