mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-03 17:56:27 +01:00
(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:
parent
3ee06b036e
commit
108a0fc0d7
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user