summaryrefslogtreecommitdiff
path: root/src/waypoint.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-09 21:20:05 +0000
committerrubidium <rubidium@openttd.org>2009-02-09 21:20:05 +0000
commitd846eef0b68474970d7ffe5f1d667d866ddff7a8 (patch)
treea4f2317ed234736c522ee05672396684eadbc141 /src/waypoint.h
parentcd0b38d234c7aa9f9fbfa32243e6cd66f308484a (diff)
downloadopenttd-d846eef0b68474970d7ffe5f1d667d866ddff7a8.tar.xz
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
Diffstat (limited to 'src/waypoint.h')
-rw-r--r--src/waypoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint.h b/src/waypoint.h
index e4af9c1a1..eb7bab0db 100644
--- a/src/waypoint.h
+++ b/src/waypoint.h
@@ -60,7 +60,7 @@ static inline Waypoint *GetWaypointByTile(TileIndex tile)
return GetWaypoint(GetWaypointIndex(tile));
}
-CommandCost RemoveTrainWaypoint(TileIndex tile, uint32 flags, bool justremove);
+CommandCost RemoveTrainWaypoint(TileIndex tile, DoCommandFlag flags, bool justremove);
Station *ComposeWaypointStation(TileIndex tile);
void ShowWaypointWindow(const Waypoint *wp);
void DrawWaypointSprite(int x, int y, int stat_id, RailType railtype);