mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 04:23:20 +01:00
Fix window list only able to hold 255 indices
This commit is contained in:
@@ -48,7 +48,7 @@ struct rct_window
|
||||
rct_windownumber number{};
|
||||
uint16_t flags{};
|
||||
rct_scroll scrolls[3];
|
||||
uint8_t list_item_positions[1024]{};
|
||||
uint32_t list_item_positions[1024]{};
|
||||
uint16_t no_list_items{}; // 0 for no items
|
||||
int16_t selected_list_item{}; // -1 for none selected
|
||||
union
|
||||
|
||||
Reference in New Issue
Block a user