summaryrefslogtreecommitdiff
path: root/src/waypoint.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-01-19 17:46:44 +0000
committerpeter1138 <peter1138@openttd.org>2007-01-19 17:46:44 +0000
commit6228127ae9dc6ce78894aa3faa2c28cc8da2a9d3 (patch)
tree21f840e9a7d8f339153917ae370dd10123a91c73 /src/waypoint.cpp
parent7201689a170377cb60386ed64bbe6dd5b25c9f18 (diff)
downloadopenttd-6228127ae9dc6ce78894aa3faa2c28cc8da2a9d3.tar.xz
(svn r8280) -Codechange: Remove unnecessarily complex assignment of waypoint string ID.
Diffstat (limited to 'src/waypoint.cpp')
-rw-r--r--src/waypoint.cpp2
1 files changed, 1 insertions, 1 deletions
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;