mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-26 00:45:35 +00:00
Codechange: make WindowClass a scoped enum
This commit is contained in:
@@ -70,7 +70,7 @@ void OrderBackup::DoRestore(Vehicle *v)
|
||||
} else if (!this->orders.empty() && OrderList::CanAllocateItem()) {
|
||||
v->orders = OrderList::Create(std::move(this->orders), v);
|
||||
/* Make sure buoys/oil rigs are updated in the station list. */
|
||||
InvalidateWindowClassesData(WC_STATION_LIST, 0);
|
||||
InvalidateWindowClassesData(WindowClass::StationList, 0);
|
||||
}
|
||||
|
||||
/* Remove backed up name if it's no longer unique. */
|
||||
|
||||
Reference in New Issue
Block a user