src/waypoint.h
changeset 8754 5dae65402806
parent 8733 9e2d2a2619ff
child 9075 ce14a76881b1
--- a/src/waypoint.h	Sat Jan 12 19:33:25 2008 +0000
+++ b/src/waypoint.h	Sat Jan 12 19:58:06 2008 +0000
@@ -17,7 +17,8 @@
 
 	TownID town_index; ///< Town associated with the waypoint
 	byte town_cn;      ///< The Nth waypoint for this town (consecutive number)
-	StringID string;   ///< If this is zero (i.e. no custom name), town + town_cn is used for naming
+	StringID string;   ///< C000-C03F have special meaning in old games
+	char *name;        ///< Custom name. If not set, town + town_cn is used for naming
 
 	ViewportSign sign; ///< Dimensions of sign (not saved)
 	Date build_date;   ///< Date of construction