1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-25 23:49:09 +00:00

(svn r3049) Replace byte/int/uint by RailType where appropriate

This commit is contained in:
tron
2005-10-16 09:13:04 +00:00
parent ab657338ec
commit 66bf4f863d
13 changed files with 27 additions and 29 deletions

View File

@@ -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);