equal
deleted
inserted
replaced
1953 |
1953 |
1954 image = t->ground_sprite; |
1954 image = t->ground_sprite; |
1955 if (image & PALETTE_MODIFIER_COLOR) image |= image_or_modificator; |
1955 if (image & PALETTE_MODIFIER_COLOR) image |= image_or_modificator; |
1956 |
1956 |
1957 // For custom sprites, there's no railtype-based pitching. |
1957 // For custom sprites, there's no railtype-based pitching. |
1958 offset = (image & SPRITE_MASK) < _custom_sprites_base ? rti->total_offset : GetRailTypeInfo(railtype)->custom_ground_offset; |
1958 offset = (image & SPRITE_MASK) < _custom_sprites_base ? rti->total_offset : rti->custom_ground_offset; |
1959 image += offset; |
1959 image += offset; |
1960 |
1960 |
1961 // station_land array has been increased from 82 elements to 114 |
1961 // station_land array has been increased from 82 elements to 114 |
1962 // but this is something else. If AI builds station with 114 it looks all weird |
1962 // but this is something else. If AI builds station with 114 it looks all weird |
1963 DrawGroundSprite(image); |
1963 DrawGroundSprite(image); |