Fix: Autoreplace rail/road list only listed buildable types. (#13887)
Instead list all possible types which includes hidden types compatible with buildable types.
This commit is contained in:
@@ -1792,6 +1792,7 @@ struct CompanyInfrastructureWindow : Window
|
||||
|
||||
/* Get the date introduced railtypes as well. */
|
||||
this->railtypes = AddDateIntroducedRailTypes(this->railtypes, CalendarTime::MAX_DATE);
|
||||
this->railtypes &= ~_railtypes_hidden_mask;
|
||||
|
||||
/* Find the used roadtypes. */
|
||||
for (const Engine *e : Engine::IterateType(VEH_ROAD)) {
|
||||
|
||||
Reference in New Issue
Block a user