Skip to content

Commit 209c530

Browse files
authored
Merge pull request odamex#988 from odamex/bugfix/show-player-in-menu
[BUGFIX] Draw player sprite in front of box in player setup menu
2 parents e04bea7 + 393b686 commit 209c530

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

client/src/m_menu.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -1504,14 +1504,14 @@ static void M_PlayerSetupDrawer()
15041504
R_BuildPlayerTranslation(0, player_color);
15051505
V_ColorMap = translationref_t(translationtables, 0);
15061506

1507+
// Draw box surrounding fire and player:
1508+
screen->DrawPatchClean(W_CachePatch("M_PBOX"), 320 - 88 - 32 + 36,
1509+
PSetupDef.y + LINEHEIGHT * 3 + 22);
1510+
15071511
screen->DrawTranslatedPatchClean (W_CachePatch (sprframe->lump[0]),
15081512
320 - 52 - 32, PSetupDef.y + LINEHEIGHT*3 + 46);
15091513
}
15101514

1511-
// Draw box surrounding fire and player:
1512-
screen->DrawPatchClean (W_CachePatch ("M_PBOX"),
1513-
320 - 88 - 32 + 36, PSetupDef.y + LINEHEIGHT*3 + 22);
1514-
15151515
// Draw team setting
15161516
{
15171517
const team_t team = D_TeamByName(cl_team.cstring());

0 commit comments

Comments
 (0)