Menus/Kick: animate idle hand and adjust spacing for new hand graphic

This commit is contained in:
James R 2023-12-31 07:38:15 -08:00
parent a36c46bbaa
commit 850fe32e2f

View file

@ -5425,8 +5425,8 @@ void M_DrawKickHandler(void)
{
// fake round queue drawer simply to make release
INT32 x = 29 + 4, y = 70, returny = y;
INT32 pokeamount = (playerkickmenu.poke & 1) ? -playerkickmenu.poke/2 : playerkickmenu.poke/2;
INT32 x2 = x + pokeamount - 9 - 8;
INT32 pokeamount = playerkickmenu.poke ? ((playerkickmenu.poke & 1) ? -playerkickmenu.poke/2 : playerkickmenu.poke/2) : (I_GetTime() % 16 < 8);
INT32 x2 = x + pokeamount - 9 - 8 - 2;
boolean datarightofcolumn = false;
@ -5501,11 +5501,11 @@ void M_DrawKickHandler(void)
if (i == (MAXPLAYERS-1)/2)
{
x = 169 - 4;
x = 169 - 6;
y = returny;
datarightofcolumn = true;
x2 = x + 118 + 9 + 8 + 4 - pokeamount;
x2 = x + 118 + 9 + 8 + 8 - pokeamount;
}
}