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 /station_cmd.c | |
parent | d318f3763ad44fff235ab132c11797090b5499c6 (diff) | |
download | openttd-e3d1e435593b1a8b47f07ba2db2a7bb70ab27012.tar.xz |
(svn r3049) Replace byte/int/uint by RailType where appropriate
Diffstat (limited to 'station_cmd.c')
-rw-r--r-- | station_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/station_cmd.c b/station_cmd.c index 612151dbc..66698a073 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -2131,7 +2131,7 @@ static void DrawTile_Station(TileInfo *ti) uint32 image; const DrawTileSeqStruct *dtss; const DrawTileSprites *t = NULL; - byte railtype = GB(_m[ti->tile].m3, 0, 4); + RailType railtype = GB(_m[ti->tile].m3, 0, 4); const RailtypeInfo *rti = GetRailTypeInfo(railtype); SpriteID offset; uint32 relocation = 0; @@ -2203,7 +2203,7 @@ static void DrawTile_Station(TileInfo *ti) } } -void StationPickerDrawSprite(int x, int y, int railtype, int image) +void StationPickerDrawSprite(int x, int y, RailType railtype, int image) { uint32 ormod, img; const DrawTileSeqStruct *dtss; |