mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-01 17:01:24 +00:00
Merge branch 'encore-dot' into 'master'
Correctly flip minimap player icon dot in encore mode Closes #582 See merge request KartKrew/Kart!1347
This commit is contained in:
commit
729932fed5
1 changed files with 8 additions and 4 deletions
12
src/k_hud.c
12
src/k_hud.c
|
|
@ -3994,8 +3994,6 @@ static void K_drawKartMinimap(void)
|
|||
|
||||
if (doprogressionbar == false)
|
||||
{
|
||||
angle_t ang = R_InterpolateAngle(mobj->old_angle, mobj->angle);
|
||||
|
||||
interpx = R_InterpolateFixed(mobj->old_x, mobj->x);
|
||||
interpy = R_InterpolateFixed(mobj->old_y, mobj->y);
|
||||
|
||||
|
|
@ -4010,6 +4008,10 @@ static void K_drawKartMinimap(void)
|
|||
|
||||
if (!nocontest)
|
||||
{
|
||||
angle_t ang = R_InterpolateAngle(mobj->old_angle, mobj->angle);
|
||||
if (encoremode)
|
||||
ang = ANGLE_180 - ang;
|
||||
|
||||
K_drawKartMinimapIcon(
|
||||
interpx,
|
||||
interpy,
|
||||
|
|
@ -4198,8 +4200,6 @@ static void K_drawKartMinimap(void)
|
|||
|
||||
if (doprogressionbar == false)
|
||||
{
|
||||
angle_t ang = R_InterpolateAngle(mobj->old_angle, mobj->angle);
|
||||
|
||||
interpx = R_InterpolateFixed(mobj->old_x, mobj->x);
|
||||
interpy = R_InterpolateFixed(mobj->old_y, mobj->y);
|
||||
|
||||
|
|
@ -4214,6 +4214,10 @@ static void K_drawKartMinimap(void)
|
|||
|
||||
if (!nocontest)
|
||||
{
|
||||
angle_t ang = R_InterpolateAngle(mobj->old_angle, mobj->angle);
|
||||
if (encoremode)
|
||||
ang = ANGLE_180 - ang;
|
||||
|
||||
K_drawKartMinimapIcon(
|
||||
interpx,
|
||||
interpy,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue