1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Rename rct_sprite::unknown to rct_sprite::generic

This commit is contained in:
Matt
2018-08-20 18:27:40 +02:00
parent 57fe4b6756
commit a89b352fb2
22 changed files with 185 additions and 194 deletions

View File

@@ -822,9 +822,9 @@ void window_scroll_to_viewport(rct_window* w)
if (w->viewport_focus_sprite.type & VIEWPORT_FOCUS_TYPE_SPRITE)
{
rct_sprite* sprite = get_sprite(w->viewport_focus_sprite.sprite_id);
x = sprite->unknown.x;
y = sprite->unknown.y;
z = sprite->unknown.z;
x = sprite->generic.x;
y = sprite->generic.y;
z = sprite->generic.z;
}
else
{