mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Doesn't apply to tutorial or free play anymore
Doesn't apply to free play anymore, battle mode either (correction)
This commit is contained in:
parent
be6d51247c
commit
5d4326a2d0
2 changed files with 8 additions and 2 deletions
|
|
@ -4730,8 +4730,10 @@ static void K_drawKartSpeedometer(boolean gametypeinfoshown)
|
||||||
V_DrawScaledPatch(LAPS_X+19, fy, V_HUDTRANS|V_SLIDEIN|splitflags, kp_facenum[numbers[2]]);
|
V_DrawScaledPatch(LAPS_X+19, fy, V_HUDTRANS|V_SLIDEIN|splitflags, kp_facenum[numbers[2]]);
|
||||||
V_DrawScaledPatch(LAPS_X+29, fy, V_HUDTRANS|V_SLIDEIN|splitflags, kp_speedometerlabel[labeln]);
|
V_DrawScaledPatch(LAPS_X+29, fy, V_HUDTRANS|V_SLIDEIN|splitflags, kp_speedometerlabel[labeln]);
|
||||||
|
|
||||||
// debug
|
/*
|
||||||
|
// debug for Speed Assist
|
||||||
V_DrawThinString(LAPS_X+7, fy-10, V_HUDTRANS|V_SLIDEIN|splitflags, va("%d\%", stplyr->loneliness*100/FRACUNIT));
|
V_DrawThinString(LAPS_X+7, fy-10, V_HUDTRANS|V_SLIDEIN|splitflags, va("%d\%", stplyr->loneliness*100/FRACUNIT));
|
||||||
|
*/
|
||||||
|
|
||||||
K_drawKartAccessibilityIcons(gametypeinfoshown, 56);
|
K_drawKartAccessibilityIcons(gametypeinfoshown, 56);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3953,9 +3953,13 @@ fixed_t K_GetKartSpeedFromStat(UINT8 kartspeed)
|
||||||
// Speed Assist pt.2: If we need assistance, how much?
|
// Speed Assist pt.2: If we need assistance, how much?
|
||||||
static fixed_t K_GetKartSpeedAssist(const player_t *player)
|
static fixed_t K_GetKartSpeedAssist(const player_t *player)
|
||||||
{
|
{
|
||||||
|
if (!M_NotFreePlay())
|
||||||
|
return 0;
|
||||||
if (modeattacking)
|
if (modeattacking)
|
||||||
return 0;
|
return 0;
|
||||||
if (gametype && GTR_BUMPERS)
|
if (gametyperules & GTR_BUMPERS)
|
||||||
|
return 0;
|
||||||
|
if (gametype == GT_TUTORIAL)
|
||||||
return 0;
|
return 0;
|
||||||
if (specialstageinfo.valid)
|
if (specialstageinfo.valid)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue