mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r8280) -Codechange: Remove unnecessarily complex assignment of waypoint string ID.
This commit is contained in:
parent
97d558760c
commit
4d6a7b7427
|
@ -361,7 +361,7 @@ Station *ComposeWaypointStation(TileIndex tile)
|
|||
|
||||
stat.train_tile = stat.xy = wp->xy;
|
||||
stat.town = GetTown(wp->town_index);
|
||||
stat.string_id = wp->string == STR_NULL ? /* FIXME? */ 0 : wp->string;
|
||||
stat.string_id = wp->string;
|
||||
stat.build_date = wp->build_date;
|
||||
|
||||
return &stat;
|
||||
|
|
Loading…
Reference in New Issue