equal
deleted
inserted
replaced
1933 |
1933 |
1934 image = t->ground_sprite; |
1934 image = t->ground_sprite; |
1935 if (image & PALETTE_MODIFIER_COLOR) image |= image_or_modificator; |
1935 if (image & PALETTE_MODIFIER_COLOR) image |= image_or_modificator; |
1936 |
1936 |
1937 // For custom sprites, there's no railtype-based pitching. |
1937 // For custom sprites, there's no railtype-based pitching. |
1938 offset = (image & SPRITE_MASK) < _custom_sprites_base ? rti->total_offset : railtype; |
1938 offset = (image & SPRITE_MASK) < _custom_sprites_base ? rti->total_offset : GetRailTypeInfo(railtype)->custom_ground_offset; |
1939 image += offset; |
1939 image += offset; |
1940 |
1940 |
1941 // station_land array has been increased from 82 elements to 114 |
1941 // station_land array has been increased from 82 elements to 114 |
1942 // but this is something else. If AI builds station with 114 it looks all weird |
1942 // but this is something else. If AI builds station with 114 it looks all weird |
1943 DrawGroundSprite(image); |
1943 DrawGroundSprite(image); |