mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Cleaner Super Emerald drawing
This commit is contained in:
parent
1b03e7a75c
commit
8cd3305a34
1 changed files with 3 additions and 3 deletions
|
|
@ -1174,9 +1174,9 @@ void F_GameEvaluationDrawer(void)
|
||||||
UINT8 basegem = (evaluationtype == EVAL_SUPER)
|
UINT8 basegem = (evaluationtype == EVAL_SUPER)
|
||||||
? 7 : 0;
|
? 7 : 0;
|
||||||
|
|
||||||
for (i = basegem; i < (basegem+7); ++i, eemeralds_cur += (360<<FRACBITS)/7)
|
for (i = 0; i < 7; ++i, eemeralds_cur += (360<<FRACBITS)/7)
|
||||||
{
|
{
|
||||||
if (finaleemeralds & (1<<i))
|
if (finaleemeralds & (1<<(i+basegem)))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
fa = (FixedAngle(eemeralds_cur)>>ANGLETOFINESHIFT) & FINEMASK;
|
fa = (FixedAngle(eemeralds_cur)>>ANGLETOFINESHIFT) & FINEMASK;
|
||||||
|
|
@ -1186,7 +1186,7 @@ void F_GameEvaluationDrawer(void)
|
||||||
FRACUNIT,
|
FRACUNIT,
|
||||||
gemtrans,
|
gemtrans,
|
||||||
empat,
|
empat,
|
||||||
R_GetTranslationColormap(TC_DEFAULT, SKINCOLOR_CHAOSEMERALD1+(i-basegem), GTC_CACHE)
|
R_GetTranslationColormap(TC_DEFAULT, SKINCOLOR_CHAOSEMERALD1+i, GTC_CACHE)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue