equal
deleted
inserted
replaced
770 sprites = GetStationTileLayout(STATION_RAIL, tile + axis); |
770 sprites = GetStationTileLayout(STATION_RAIL, tile + axis); |
771 } else { |
771 } else { |
772 sprites = &statspec->renderdata[(tile < statspec->tiles) ? tile + axis : (uint)axis]; |
772 sprites = &statspec->renderdata[(tile < statspec->tiles) ? tile + axis : (uint)axis]; |
773 } |
773 } |
774 |
774 |
775 image = sprites->ground_sprite; |
775 image = sprites->ground.sprite; |
776 if (HasBit(image, SPRITE_MODIFIER_USE_OFFSET)) { |
776 if (HasBit(image, SPRITE_MODIFIER_USE_OFFSET)) { |
777 image += GetCustomStationGroundRelocation(statspec, NULL, INVALID_TILE); |
777 image += GetCustomStationGroundRelocation(statspec, NULL, INVALID_TILE); |
778 image += rti->custom_ground_offset; |
778 image += rti->custom_ground_offset; |
779 } else { |
779 } else { |
780 image += rti->total_offset; |
780 image += rti->total_offset; |