mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-21 19:32:54 +01:00
Codechange: do not implicitly convert during assignment to StrongType
This commit is contained in:
@@ -166,7 +166,7 @@ struct SetDateWindow : Window {
|
||||
break;
|
||||
|
||||
case WID_SD_YEAR:
|
||||
this->date.year = index;
|
||||
this->date.year = TimerGameEconomy::Year{index};
|
||||
break;
|
||||
}
|
||||
this->SetDirty();
|
||||
|
||||
Reference in New Issue
Block a user