diff options
author | peter1138 <peter1138@openttd.org> | 2006-04-12 12:33:21 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-04-12 12:33:21 +0000 |
commit | 7b6e932d82b60088d63cbdb947bd81dae01de404 (patch) | |
tree | 9b9bc8cec16c5409db091066f4f648d4e976f69f /station_cmd.c | |
parent | 46eab6aec6268b44032362abe9b95dd5337ecd7a (diff) | |
download | openttd-7b6e932d82b60088d63cbdb947bd81dae01de404.tar.xz |
(svn r4383) - Codechange: Remove extraneous code from 4354; no need to get RailTypeInfo when we already have it...
Diffstat (limited to 'station_cmd.c')
-rw-r--r-- | station_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |