summaryrefslogtreecommitdiff
path: root/src/waypoint.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-02-16 16:40:47 +0000
committersmatz <smatz@openttd.org>2008-02-16 16:40:47 +0000
commit058f39fe180bcbe829afa8f3ac377aeb877a41df (patch)
tree43a2c1e1a3b14b24617b84cdf4007ca172fec406 /src/waypoint.h
parente7173d3ba456c3f3ec0cc69161396cd7410fe248 (diff)
downloadopenttd-058f39fe180bcbe829afa8f3ac377aeb877a41df.tar.xz
(svn r12160) -Fix [FS#1744]: remove the arbitrary limit of 64 waypoints per town, so weird things won't happen anymore
Diffstat (limited to 'src/waypoint.h')
-rw-r--r--src/waypoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint.h b/src/waypoint.h
index 9737d5942..c995dca0d 100644
--- a/src/waypoint.h
+++ b/src/waypoint.h
@@ -16,7 +16,7 @@ struct Waypoint : PoolItem<Waypoint, WaypointID, &_Waypoint_pool> {
TileIndex xy; ///< Tile of waypoint
TownID town_index; ///< Town associated with the waypoint
- byte town_cn; ///< The Nth waypoint for this town (consecutive number)
+ uint16 town_cn; ///< The Nth waypoint for this town (consecutive number)
StringID string; ///< C000-C03F have special meaning in old games
char *name; ///< Custom name. If not set, town + town_cn is used for naming