(svn r8280) -Codechange: Remove unnecessarily complex assignment of waypoint string ID.

This commit is contained in:
peter1138
2007-01-19 17:46:44 +00:00
parent 7201689a17
commit 6228127ae9

View File

@@ -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;