(svn r4383) - Codechange: Remove extraneous code from 4354; no need to get RailTypeInfo when we already have it...

This commit is contained in:
peter1138
2006-04-12 12:33:21 +00:00
parent 46eab6aec6
commit 7b6e932d82
3 changed files with 3 additions and 3 deletions

View File

@@ -1329,7 +1329,7 @@ static void DrawTile_Track(TileInfo *ti)
* up to the GRF file to decide that. */
image = cust->ground_sprite;
image += (image < _custom_sprites_base) ? rti->total_offset : GetRailTypeInfo(GetRailType(ti->tile))->custom_ground_offset;
image += (image < _custom_sprites_base) ? rti->total_offset : rti->custom_ground_offset;
DrawGroundSprite(image);