diff options
author | tron <tron@openttd.org> | 2005-10-16 09:13:04 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-16 09:13:04 +0000 |
commit | e3d1e435593b1a8b47f07ba2db2a7bb70ab27012 (patch) | |
tree | 3d8e77c53a48b7cf354777fe120740126f2a7615 /rail_cmd.c | |
parent | d318f3763ad44fff235ab132c11797090b5499c6 (diff) | |
download | openttd-e3d1e435593b1a8b47f07ba2db2a7bb70ab27012.tar.xz |
(svn r3049) Replace byte/int/uint by RailType where appropriate
Diffstat (limited to 'rail_cmd.c')
-rw-r--r-- | rail_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rail_cmd.c b/rail_cmd.c index fec972c90..e185d8529 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -1584,7 +1584,7 @@ static void DrawTile_Track(TileInfo *ti) } } -void DrawTrainDepotSprite(int x, int y, int image, int railtype) +void DrawTrainDepotSprite(int x, int y, int image, RailType railtype) { uint32 ormod, img; const RailtypeInfo *rti = GetRailTypeInfo(railtype); @@ -1611,7 +1611,7 @@ void DrawTrainDepotSprite(int x, int y, int image, int railtype) } } -void DrawDefaultWaypointSprite(int x, int y, int railtype) +void DrawDefaultWaypointSprite(int x, int y, RailType railtype) { const DrawTrackSeqStruct *dtss = _track_depot_layout_table[4]; const RailtypeInfo *rti = GetRailTypeInfo(railtype); |