mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-25 08:22:17 +00:00
Codechange: Use correct type for max timetable start years constant (#11197)
This commit is contained in:
+2
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user