(svn r4383) - Codechange: Remove extraneous code from 4354; no need to get RailTypeInfo when we already have it...
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user