summaryrefslogtreecommitdiff
path: root/src/waypoint.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-17 20:40:29 +0000
committerrubidium <rubidium@openttd.org>2009-07-17 20:40:29 +0000
commitc9cab7ba1967a42b90b44bca865db33c66a20c72 (patch)
treedd85a92a79169b853a364910d8c2d3cd497caadb /src/waypoint.h
parent72d6c3a9ad5013555607b7f90f1f0f9dd5faba0b (diff)
downloadopenttd-c9cab7ba1967a42b90b44bca865db33c66a20c72.tar.xz
(svn r16862) -Codechange: make waypoints use the same system of station station spec lists.
Diffstat (limited to 'src/waypoint.h')
-rw-r--r--src/waypoint.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/waypoint.h b/src/waypoint.h
index 6e3e24105..7e540ecc2 100644
--- a/src/waypoint.h
+++ b/src/waypoint.h
@@ -28,7 +28,8 @@ struct Waypoint : WaypointPool::PoolItem<&_waypoint_pool> {
Date build_date; ///< Date of construction
OwnerByte owner; ///< Whom this waypoint belongs to
- StationSpecList spec; ///< NewGRF specification of the station
+ uint8 num_specs; ///< NOSAVE: Number of specs in the speclist
+ StationSpecList *speclist; ///< List of station specs of this station
byte delete_ctr; ///< Delete counter. If greater than 0 then it is decremented until it reaches 0; the waypoint is then is deleted.