summaryrefslogtreecommitdiff
path: root/waypoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'waypoint.h')
-rw-r--r--waypoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/waypoint.h b/waypoint.h
index 04c39faba..4842d1a31 100644
--- a/waypoint.h
+++ b/waypoint.h
@@ -10,7 +10,7 @@ struct Waypoint {
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