(svn r27688) -Fix-ish: Initialise new railtypes with the original railtype data, though strictly NewGRF could only have modified 'label' and 'alternate_labels' at the time AllocateRailType is called, which are reset anyway.
This commit is contained in:
@@ -152,7 +152,7 @@ RailType AllocateRailType(RailTypeLabel label)
|
||||
|
||||
if (rti->label == 0) {
|
||||
/* Set up new rail type */
|
||||
*rti = _railtypes[RAILTYPE_RAIL];
|
||||
*rti = _original_railtypes[RAILTYPE_RAIL];
|
||||
rti->label = label;
|
||||
rti->alternate_labels.Clear();
|
||||
|
||||
|
Reference in New Issue
Block a user