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