From 4d6a7b74271906a4ffa17123a33cea114b41f562 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Fri, 19 Jan 2007 17:46:44 +0000 Subject: (svn r8280) -Codechange: Remove unnecessarily complex assignment of waypoint string ID. --- src/waypoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/waypoint.cpp b/src/waypoint.cpp index 4bd46efe0..b8eacc383 100644 --- a/src/waypoint.cpp +++ b/src/waypoint.cpp @@ -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; -- cgit v1.2.3-70-g09d2