Rename rct_sprite::unknown to rct_sprite::generic

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

No files matched your search

+3 -3
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
{