Skip to content

Commit

Permalink
Fix nughud.ammo.align for fallback Berserk
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlaux committed Oct 13, 2024
1 parent 0f71d59 commit cb0baca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/st_stuff.c
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ void ST_drawWidgets(void)
patch_t *const patch = W_CacheLumpNum(lu_berserk, PU_STATIC);

// [crispy] (23,179) is the center of the Ammo widget
V_DrawPatch(ammox + (21 * (st_crispyhud ? nughud.ammo.align : -1))
V_DrawPatch(ammox - (21 * (st_crispyhud ? nughud.ammo.align : 1))
- SHORT(patch->width)/2 + SHORT(patch->leftoffset),
ammoy + 8 - SHORT(patch->height)/2 + SHORT(patch->topoffset),
patch);
Expand Down

0 comments on commit cb0baca

Please sign in to comment.