mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-01 10:59:12 +00:00
(svn r8280) -Codechange: Remove unnecessarily complex assignment of waypoint string ID.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user