changeset 5736:6187a352f9f9 draft

(svn r8280) -Codechange: Remove unnecessarily complex assignment of waypoint string ID.
author peter1138 <peter1138@openttd.org>
date Fri, 19 Jan 2007 17:46:44 +0000
parents 6dcf717d732f
children 82c1c5ba5c84
files src/waypoint.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/waypoint.cpp
+++ b/src/waypoint.cpp
@@ -361,7 +361,7 @@
 
 	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;