mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-31 12:13:16 +00:00
Fixed misaligned arrows in 4P team hud
This commit is contained in:
parent
bf2f9a9898
commit
a6f76db0fa
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue