Close #25244: Unify kImageIndexUndefined and kSpriteIdNull (#25683)

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2025-12-21 16:19:35 +01:00
1 parent fcd16cb00a
commit 13795ce082
7 files changed
+11 -13

No files matched your search

@@ -917,7 +917,7 @@ namespace OpenRCT2::Ui::Windows
for (size_t i = 0; i < std::size(ObjectSelectionPages); i++)
{
auto& widget = widgets[WIDX_TAB_1 + i];
if (ObjectSelectionPages[i].Image != kSpriteIdNull)
if (ObjectSelectionPages[i].Image != kImageIndexUndefined)
{
widget.type = WidgetType::tab;
widget.left = x;