mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Make _appropriateImageDropdownItemsPerRow a constexpr (#10990)
This commit is contained in:
committed by
GitHub
parent
b9ddcfbb3e
commit
32e589efbe
@@ -22,7 +22,7 @@ constexpr int32_t DROPDOWN_TEXT_MAX_ROWS = 32;
|
||||
|
||||
constexpr int32_t DROPDOWN_ITEM_HEIGHT = 12;
|
||||
|
||||
static int32_t _appropriateImageDropdownItemsPerRow[34] = {
|
||||
static constexpr const uint8_t _appropriateImageDropdownItemsPerRow[34] = {
|
||||
1, 1, 1, 1, 2, 2, 3, 3, 4, 3, 5, 4, 4, 5, 5, 5, 4, 5, 6, 5, 5, 7, 4, 5, 6, 5, 6, 6, 6, 6, 6, 8, 8, 8,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user