equal
deleted
inserted
replaced
755 uint16 callback = GetStationCallback(CBID_STATION_SPRITE_LAYOUT, 0x2110000, 0, statspec, NULL, INVALID_TILE); |
755 uint16 callback = GetStationCallback(CBID_STATION_SPRITE_LAYOUT, 0x2110000, 0, statspec, NULL, INVALID_TILE); |
756 if (callback != CALLBACK_FAILED) tile = callback; |
756 if (callback != CALLBACK_FAILED) tile = callback; |
757 } |
757 } |
758 |
758 |
759 if (statspec->renderdata == NULL) { |
759 if (statspec->renderdata == NULL) { |
760 sprites = GetStationTileLayout(tile + axis); |
760 sprites = GetStationTileLayout(STATION_RAIL, tile + axis); |
761 } else { |
761 } else { |
762 sprites = &statspec->renderdata[(tile < statspec->tiles) ? tile + axis : (uint)axis]; |
762 sprites = &statspec->renderdata[(tile < statspec->tiles) ? tile + axis : (uint)axis]; |
763 } |
763 } |
764 |
764 |
765 image = sprites->ground_sprite; |
765 image = sprites->ground_sprite; |