From 6228127ae9dc6ce78894aa3faa2c28cc8da2a9d3 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Fri, 19 Jan 2007 17:46:44 +0000 Subject: [PATCH] (svn r8280) -Codechange: Remove unnecessarily complex assignment of waypoint string ID. --- src/waypoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/waypoint.cpp b/src/waypoint.cpp index 4bd46efe0e..b8eacc3831 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;