diff options
author | Darkvater <darkvater@openttd.org> | 2006-03-26 22:41:56 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-03-26 22:41:56 +0000 |
commit | 2ba792d64447968bbd18c755a6e4d1720728c5ae (patch) | |
tree | 9bd460410009e4e5c945bf15b225b476092a0fe6 /waypoint.h | |
parent | fa86dff4c3f02a8dbdc339b421a7096d10bae368 (diff) | |
download | openttd-2ba792d64447968bbd18c755a6e4d1720728c5ae.tar.xz |
(svn r4130) - CodeChange: Add proper semantics for TownID for such variables instead of using the general uint16-type. We probably need to change GetTown() and IsTownIndex() as well to use TownID.
Diffstat (limited to 'waypoint.h')
-rw-r--r-- | waypoint.h | 2 |
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 |