Increase maximum value of ticks per minute setting

pull/59/head
Jonathan G Rennison 6 years ago
parent 8a4d462d44
commit 9a1a5a9d68

@ -147,7 +147,7 @@ struct GUISettings {
bool timetable_leftover_ticks; ///< whether to show leftover ticks after converting to minutes/days, in the timetable
bool time_in_minutes; ///< whether to use the hh:mm conversion when printing dates
bool timetable_start_text_entry; ///< whether to enter timetable start times as text (hhmm format)
uint8 ticks_per_minute; ///< how many ticks per minute
uint16 ticks_per_minute; ///< how many ticks per minute
uint8 date_with_time; ///< whether to show the month and year with the time
uint16 clock_offset; ///< clock offset in minutes
bool quick_goto; ///< Allow quick access to 'goto button' in vehicle orders window

@ -3561,12 +3561,12 @@ strhelp = STR_CONFIG_SETTING_TIMETABLE_START_TEXT_ENTRY_HELPTEXT
[SDTC_VAR]
var = gui.ticks_per_minute
type = SLE_UINT8
type = SLE_UINT16
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
strval = STR_JUST_INT
def = 74
min = 1
max = 255
max = 8192
str = STR_CONFIG_SETTING_TICKS_PER_MINUTE
strhelp = STR_CONFIG_SETTING_TICKS_PER_MINUTE_HELPTEXT
proc = RedrawScreen

Loading…
Cancel
Save