From f733f9467798c9cf3b26bdc18233d46e4fc4c7a9 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 12 Apr 2006 12:33:21 +0000 Subject: (svn r4383) - Codechange: Remove extraneous code from 4354; no need to get RailTypeInfo when we already have it... --- station_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'station_cmd.c') diff --git a/station_cmd.c b/station_cmd.c index 5bd870ce0..7e60b7d4c 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -1955,7 +1955,7 @@ static void DrawTile_Station(TileInfo *ti) if (image & PALETTE_MODIFIER_COLOR) image |= image_or_modificator; // For custom sprites, there's no railtype-based pitching. - offset = (image & SPRITE_MASK) < _custom_sprites_base ? rti->total_offset : GetRailTypeInfo(railtype)->custom_ground_offset; + offset = (image & SPRITE_MASK) < _custom_sprites_base ? rti->total_offset : rti->custom_ground_offset; image += offset; // station_land array has been increased from 82 elements to 114 -- cgit v1.2.3-54-g00ecf