summaryrefslogtreecommitdiff
path: root/src/waypoint.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-08-23 02:15:46 +0000
committerbelugas <belugas@openttd.org>2008-08-23 02:15:46 +0000
commit7dc212edeba11703d3b8a5f4105dbb0102f122ab (patch)
tree3c9c32817a645ea313b3ef2cc9da69a40f7820ea /src/waypoint.h
parentf625ecbeba53c4d25cd2ad2755924448522af8e9 (diff)
downloadopenttd-7dc212edeba11703d3b8a5f4105dbb0102f122ab.tar.xz
(svn r14135) -Codechange: Add owner to waypoints. Previously, it was guessed from rail underneath it.
Diffstat (limited to 'src/waypoint.h')
-rw-r--r--src/waypoint.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/waypoint.h b/src/waypoint.h
index ee664e605..1d0e64ca4 100644
--- a/src/waypoint.h
+++ b/src/waypoint.h
@@ -25,6 +25,7 @@ struct Waypoint : PoolItem<Waypoint, WaypointID, &_Waypoint_pool> {
ViewportSign sign; ///< Dimensions of sign (not saved)
Date build_date; ///< Date of construction
+ Owner owner; ///< Whom this waypoint belongs to
byte stat_id; ///< ID of waypoint within the waypoint class (not saved)
uint32 grfid; ///< ID of GRF file