mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-19 02:12:37 +01:00
Codechange: use std::vector/std::span for DrawTileSprites over malloc-ed table
This commit is contained in:
@@ -473,7 +473,7 @@ static void DrawTile_Object(TileInfo *ti)
|
||||
|
||||
if (!IsInvisibilitySet(TO_STRUCTURES)) {
|
||||
const DrawTileSeqStruct *dtss;
|
||||
foreach_draw_tile_seq(dtss, dts->seq) {
|
||||
foreach_draw_tile_seq(dtss, dts->GetSequence()) {
|
||||
AddSortableSpriteToDraw(
|
||||
dtss->image.sprite, palette,
|
||||
ti->x + dtss->delta_x, ti->y + dtss->delta_y,
|
||||
|
||||
Reference in New Issue
Block a user