diff options
author | tron <tron@openttd.org> | 2005-06-24 12:38:35 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-06-24 12:38:35 +0000 |
commit | 3154e7148d00f0203760aefbc6f8a5bd210cc30c (patch) | |
tree | 17004bd894946da466a10e50a86ff66225cf8896 /waypoint.c | |
parent | 3448729ff36ca9e91d91c256d9a5381ba901230b (diff) | |
download | openttd-3154e7148d00f0203760aefbc6f8a5bd210cc30c.tar.xz |
(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"
Diffstat (limited to 'waypoint.c')
-rw-r--r-- | waypoint.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/waypoint.c b/waypoint.c index f66e9e993..64bfa73cd 100644 --- a/waypoint.c +++ b/waypoint.c @@ -129,7 +129,7 @@ void MakeDefaultWaypointName(Waypoint *wp) } /* Find a deleted waypoint close to a tile. */ -static Waypoint *FindDeletedWaypointCloseTo(uint tile) +static Waypoint *FindDeletedWaypointCloseTo(TileIndex tile) { Waypoint *wp, *best = NULL; uint thres = 8, cur_dist; @@ -243,7 +243,7 @@ void WaypointsDailyLoop(void) } /* Remove a waypoint */ -int32 RemoveTrainWaypoint(uint tile, uint32 flags, bool justremove) +int32 RemoveTrainWaypoint(TileIndex tile, uint32 flags, bool justremove) { Waypoint *wp; @@ -335,7 +335,7 @@ int32 CmdRenameWaypoint(int x, int y, uint32 flags, uint32 p1, uint32 p2) } /* This hacks together some dummy one-shot Station structure for a waypoint. */ -Station *ComposeWaypointStation(uint tile) +Station *ComposeWaypointStation(TileIndex tile) { Waypoint *wp = GetWaypointByTile(tile); static Station stat; |