Improve descriptive zvote offsetting

This commit is contained in:
Antonio Martinez 2024-09-27 15:43:19 -07:00
parent c2f56050c3
commit bac60e3af8

View file

@ -1104,9 +1104,9 @@ void K_DrawMidVote(void)
exc, NULL exc, NULL
); );
K_DrawGameControl( K_DrawGameControl(
x/FRACUNIT - 4, y/FRACUNIT + exc->height/FRACUNIT - 12, x/FRACUNIT - 4, y/FRACUNIT + exc->height - 8,
id, pressed ? "<z_pressed>" : "<z>", id, pressed ? "<z_pressed>" : "<z>",
0, 8, V_SNAPTOBOTTOM|V_SNAPTORIGHT 0, 8, V_SNAPTOBOTTOM|V_SNAPTORIGHT|V_SPLITSCREEN
); );
/* /*
K_drawButton( K_drawButton(
@ -1227,7 +1227,7 @@ void K_DrawMidVote(void)
if (drawButton == true) if (drawButton == true)
{ {
K_DrawGameControl( K_DrawGameControl(
x/FRACUNIT-20, y/FRACUNIT-2, id, x/FRACUNIT-20, y/FRACUNIT + 2, id,
pressed ? "<z_pressed>" : "<z>", pressed ? "<z_pressed>" : "<z>",
0, 8, V_SNAPTOBOTTOM|V_SNAPTORIGHT|V_SPLITSCREEN 0, 8, V_SNAPTOBOTTOM|V_SNAPTORIGHT|V_SPLITSCREEN
); );