Skip to content

Commit

Permalink
fallback on default BW popup theme to reduce potential for error (#5392)
Browse files Browse the repository at this point in the history
  • Loading branch information
ravepossum authored Sep 18, 2024
1 parent 95dac7c commit 27db57f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map_name_popup.c
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ static void LoadMapNamePopUpWindowBg(void)
switch (popUpThemeId)
{
// add additional gen 5-style pop-up themes as cases here
case MAPPOPUP_THEME_BW_DEFAULT:
default: // MAPPOPUP_THEME_BW_DEFAULT
if (OW_POPUP_BW_COLOR == OW_POPUP_BW_COLOR_WHITE)
LoadPalette(sMapPopUpTilesPalette_BW_White, BG_PLTT_ID(14), sizeof(sMapPopUpTilesPalette_BW_White));
else
Expand Down

0 comments on commit 27db57f

Please sign in to comment.