summaryrefslogtreecommitdiff
path: root/src/waypoint.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-16 20:29:08 +0000
committerrubidium <rubidium@openttd.org>2009-07-16 20:29:08 +0000
commit665fa7f9c170774f6a640ecf381f714b50b6b174 (patch)
treec50cc3aa827d9d7f6d3db036b1b2cee952bd3cb6 /src/waypoint.h
parentdea1144bcb52b6c5f2c985395b2775cedcbff5ce (diff)
downloadopenttd-665fa7f9c170774f6a640ecf381f714b50b6b174.tar.xz
(svn r16851) -Codechange: use StationSpecList in waypoint too
Diffstat (limited to 'src/waypoint.h')
-rw-r--r--src/waypoint.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/waypoint.h b/src/waypoint.h
index 59b2d1830..3111f7a92 100644
--- a/src/waypoint.h
+++ b/src/waypoint.h
@@ -8,7 +8,7 @@
#include "waypoint_type.h"
#include "rail_map.h"
#include "command_type.h"
-#include "station_type.h"
+#include "station_base.h"
#include "town_type.h"
#include "viewport_type.h"
#include "date_type.h"
@@ -29,9 +29,7 @@ struct Waypoint : WaypointPool::PoolItem<&_waypoint_pool> {
Date build_date; ///< Date of construction
OwnerByte owner; ///< Whom this waypoint belongs to
- byte stat_id; ///< ID of waypoint within the waypoint class (not saved)
- uint32 grfid; ///< ID of GRF file
- byte localidx; ///< Index of station within GRF file
+ StationSpecList spec; ///< NewGRF specification of the station
byte delete_ctr; ///< Delete counter. If greater than 0 then it is decremented until it reaches 0; the waypoint is then is deleted.