mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 05:23:04 +01:00
Rename rct_sprite::unknown to rct_sprite::generic
This commit is contained in:
@@ -200,10 +200,10 @@ static bool map_animation_invalidate_small_scenery(int32_t x, int32_t y, int32_t
|
||||
int32_t y2 = y - CoordsDirectionDelta[direction].y;
|
||||
|
||||
uint16_t spriteIdx = sprite_get_first_in_quadrant(x2, y2);
|
||||
for (; spriteIdx != SPRITE_INDEX_NULL; spriteIdx = sprite->unknown.next_in_quadrant)
|
||||
for (; spriteIdx != SPRITE_INDEX_NULL; spriteIdx = sprite->generic.next_in_quadrant)
|
||||
{
|
||||
sprite = get_sprite(spriteIdx);
|
||||
if (sprite->unknown.linked_list_type_offset != SPRITE_LIST_PEEP * 2)
|
||||
if (sprite->generic.linked_list_type_offset != SPRITE_LIST_PEEP * 2)
|
||||
continue;
|
||||
|
||||
peep = &sprite->peep;
|
||||
|
||||
Reference in New Issue
Block a user