Codechange: Use proper date types in various places (#11177)
This commit is contained in:
@@ -2505,7 +2505,7 @@ struct ScenarioEditorToolbarWindow : Window {
|
||||
/* Was 'cancel' pressed? */
|
||||
if (str == nullptr) return;
|
||||
|
||||
int32_t value;
|
||||
TimerGameCalendar::Year value;
|
||||
if (!StrEmpty(str)) {
|
||||
value = atoi(str);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user