Skip to content

Commit

Permalink
No longer limit banner count in intent (OpenRCT2#20650)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmbernardi authored Jul 25, 2023
1 parent 92d0471 commit d2db5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openrct2-ui/WindowManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ class WindowManager final : public IWindowManager

case INTENT_ACTION_UPDATE_BANNER:
{
uint8_t bannerIndex = static_cast<uint8_t>(intent.GetUIntExtra(INTENT_EXTRA_BANNER_INDEX));
rct_windownumber bannerIndex = static_cast<rct_windownumber>(intent.GetUIntExtra(INTENT_EXTRA_BANNER_INDEX));

WindowBase* w = WindowFindByNumber(WindowClass::Banner, bannerIndex);
if (w != nullptr)
Expand Down

0 comments on commit d2db5f0

Please sign in to comment.