Fix window list only able to hold 255 indices

This commit is contained in:
ZehMatt 2021-08-02 09:03:00 +03:00 committed by ζeh Matt
parent e65a1f6fc5
commit b9c679d23e
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0
1 changed files with 1 additions and 1 deletions

View File

@ -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