diff options
author | smatz <smatz@openttd.org> | 2008-09-09 12:26:25 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-09-09 12:26:25 +0000 |
commit | ff7e0b2586b4fbc0ef747df274b3b3641bd40509 (patch) | |
tree | 6bd21c91c8943ef78a3129350c28c9e50daccb89 /src/waypoint.h | |
parent | 80631f4a45338a793e7d4335c5280a9efb29ec08 (diff) | |
download | openttd-ff7e0b2586b4fbc0ef747df274b3b3641bd40509.tar.xz |
(svn r14280) -Codechange: use IsRailWaypointTile() instead of IsTileType() and IsRailWaypoint() checks at several places
Diffstat (limited to 'src/waypoint.h')
-rw-r--r-- | src/waypoint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint.h b/src/waypoint.h index a0742940e..2692ad5ea 100644 --- a/src/waypoint.h +++ b/src/waypoint.h @@ -55,7 +55,7 @@ static inline bool IsValidWaypointID(WaypointID index) */ static inline Waypoint *GetWaypointByTile(TileIndex tile) { - assert(IsTileType(tile, MP_RAILWAY) && IsRailWaypoint(tile)); + assert(IsRailWaypointTile(tile)); return GetWaypoint(GetWaypointIndex(tile)); } |