mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 02:00:11 +00:00
K_drawKartMinimap: let minimap fade in relative to st_translucency
- Fixes progression bar sometimes not appearing in Sealed Stars. - Matches timing of V_SLIDEIN.
This commit is contained in:
parent
afeba341c0
commit
2316671733
1 changed files with 1 additions and 6 deletions
|
|
@ -3948,12 +3948,7 @@ static void K_drawKartMinimap(void)
|
|||
|
||||
if (dofade)
|
||||
{
|
||||
const tic_t length = TICRATE/2;
|
||||
|
||||
if (!lt_exitticker)
|
||||
return;
|
||||
if (lt_exitticker < length)
|
||||
minimaptrans = (((INT32)lt_exitticker)*minimaptrans)/((INT32)length);
|
||||
minimaptrans = FixedMul(minimaptrans, (st_translucency * FRACUNIT) / 10);
|
||||
|
||||
if (!minimaptrans)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue