(svn r8280) -Codechange: Remove unnecessarily complex assignment of waypoint string ID.
authorpeter1138
Fri, 19 Jan 2007 17:46:44 +0000
changeset 5987 b3e5e1a434b4
parent 5986 1b9ab9629d36
child 5988 1807f4d572f0
(svn r8280) -Codechange: Remove unnecessarily complex assignment of waypoint string ID.
src/waypoint.cpp
--- a/src/waypoint.cpp	Fri Jan 19 17:44:11 2007 +0000
+++ b/src/waypoint.cpp	Fri Jan 19 17:46:44 2007 +0000
@@ -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;