summaryrefslogtreecommitdiff
path: root/src
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
commit4d6a7b74271906a4ffa17123a33cea114b41f562 (patch)
tree21f840e9a7d8f339153917ae370dd10123a91c73 /src
parent97d558760c05b8d5fecfcf7eb1d03e64832170ff (diff)
downloadopenttd-4d6a7b74271906a4ffa17123a33cea114b41f562.tar.xz
(svn r8280) -Codechange: Remove unnecessarily complex assignment of waypoint string ID.
Diffstat (limited to 'src')
-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;