1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 19:56:13 +01:00

Use GetColourButtonImage() for remaining windows

This commit is contained in:
Gymnasiast
2022-10-11 14:44:45 +02:00
parent 89cd86da4d
commit 418c5a6708
5 changed files with 10 additions and 12 deletions

View File

@@ -456,7 +456,7 @@ void WindowDropdownShowColour(rct_window* w, rct_widget* widget, uint8_t dropdow
defaultIndex = i;
gDropdownItems[i].Format = Dropdown::FormatColourPicker;
gDropdownItems[i].Args = (i << 32) | (SPRITE_ID_PALETTE_COLOUR_1(i) | SPR_PALETTE_BTN);
gDropdownItems[i].Args = (i << 32) | ImageId(SPR_PALETTE_BTN, i).ToUInt32();
}
// Show dropdown