summaryrefslogtreecommitdiff
path: root/src/roadstop_base.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-12-04 21:13:31 +0000
committerrubidium <rubidium@openttd.org>2009-12-04 21:13:31 +0000
commitbc876098f739b36c39543f4b8dcaa6ae81f3e337 (patch)
tree83a2c3623456f1abaade56b0d1aa0622987956dd /src/roadstop_base.h
parentcbc6653a470afe2da443cf58e9967b2122be1628 (diff)
downloadopenttd-bc876098f739b36c39543f4b8dcaa6ae81f3e337.tar.xz
(svn r18406) -Cleanup: remove some unneeded constants and code
Diffstat (limited to 'src/roadstop_base.h')
-rw-r--r--src/roadstop_base.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/roadstop_base.h b/src/roadstop_base.h
index 5c73d233f..44e4cd7dd 100644
--- a/src/roadstop_base.h
+++ b/src/roadstop_base.h
@@ -65,11 +65,9 @@ struct RoadStop : RoadStopPool::PoolItem<&_roadstop_pool> {
void Rebuild(const RoadStop *rs, int side = -1);
};
- static const uint LIMIT = 16; ///< The maximum amount of roadstops that are allowed at a single station
-
- TileIndex xy; ///< Position on the map
- byte status; ///< Current status of the Stop, @see RoadStopSatusFlag. Access using *Bay and *Busy functions.
- struct RoadStop *next; ///< Next stop of the given type at this station
+ TileIndex xy; ///< Position on the map
+ byte status; ///< Current status of the Stop, @see RoadStopSatusFlag. Access using *Bay and *Busy functions.
+ struct RoadStop *next; ///< Next stop of the given type at this station
/** Initializes a RoadStop */
FORCEINLINE RoadStop(TileIndex tile = INVALID_TILE) :