1
0
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:
ZehMatt
2021-08-02 09:03:00 +03:00
committed by ζeh Matt
parent e65a1f6fc5
commit b9c679d23e

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