Fixed misaligned arrows in 4P team hud

This commit is contained in:
Antonio Martinez 2025-05-21 18:54:24 -04:00
parent bf2f9a9898
commit a6f76db0fa

View file

@ -3294,6 +3294,7 @@ static void K_drawKartTeamScores(void)
scorey = 10;
scoregap = 2;
facex = -2;
facey = -5;
faceoff = 4;
}
@ -3389,6 +3390,7 @@ static void K_drawKartTeamScores(void)
lastleveltime = leveltime;
fixed_t enemypercent = FixedDiv(enemyscore*FRACUNIT, totalscore*FRACUNIT);
enemypercent = FRACUNIT/2;
// fixed_t allypercent = FixedDiv(allyscore*FRACUNIT, totalscore*FRACUNIT);
INT32 enemywidth = FixedInt(FixedMul(enemypercent, barwidth*FRACUNIT));
INT32 allywidth = barwidth - enemywidth;