Skip to content

Commit

Permalink
Further tweak to initializing widescreen HUD
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Nov 21, 2024
1 parent 52da873 commit b8daa04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/hu_stuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ void HU_Init(void)
|| (gamemode != commercial && i == wp_supershotgun))
weaponinfo[i].ammopatch = NULL;
else
{
weaponinfo[i].ammopatch = W_CacheLumpNum(firstspritelump + sprite);

for (int j = numstates - 1; j >= 0; j--)
{
state_t *state = &states[j];
Expand All @@ -224,6 +227,7 @@ void HU_Init(void)
break;
}
}
}
}

keypics[it_bluecard].patch = HU_LoadHUDKeyPatch(it_bluecard);
Expand Down

0 comments on commit b8daa04

Please sign in to comment.