waypoint.h
changeset 3346 a0d4def7d934
parent 3239 9b1030ac7d83
child 3347 0ddacd451b81
--- a/waypoint.h	Sun Mar 26 22:25:29 2006 +0000
+++ b/waypoint.h	Sun Mar 26 22:41:56 2006 +0000
@@ -10,7 +10,7 @@
 	TileIndex xy;      ///< Tile of waypoint
 	uint16 index;      ///< Index of waypoint
 
-	uint16 town_index; ///< Town associated with the waypoint
+	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