mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix window list only able to hold 255 indices
This commit is contained in:
parent
e65a1f6fc5
commit
b9c679d23e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue