mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-31 05:20:51 +00:00
Minor fixes
This commit is contained in:
parent
788c98144f
commit
bfb4c0fae5
2 changed files with 3 additions and 2 deletions
|
@ -2229,7 +2229,7 @@ static void K_DoHyudoroSteal(player_t *player)
|
|||
players[stealplayer].kartstuff[k_itemamount] = 0;
|
||||
players[stealplayer].kartstuff[k_itemheld] = 0;
|
||||
|
||||
if (P_IsLocalPlayer(players[stealplayer]) && !splitscreen)
|
||||
if (P_IsLocalPlayer(&players[stealplayer]) && !splitscreen)
|
||||
S_StartSound(NULL, sfx_s3k92);
|
||||
}
|
||||
}
|
||||
|
@ -3428,6 +3428,7 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
|
||||
P_SetTarget(&player->mo->tracer->target, player->mo);
|
||||
player->mo->tracer->color = player->mo->color;
|
||||
player->mo->tracer->colorized = (player->kartstuff[k_comebackmode] == 1);
|
||||
|
||||
if (player->kartstuff[k_comebacktimer] > 0)
|
||||
{
|
||||
|
|
|
@ -704,7 +704,7 @@ void P_Ticker(boolean run)
|
|||
|
||||
if (hurtthisguy != -1)
|
||||
{
|
||||
players[hurtthisguy].kartstuff[k_deathsentence] = TICRATE+1;
|
||||
players[hurtthisguy].kartstuff[k_deathsentence] = (2*TICRATE)+1;
|
||||
S_StartSound(players[hurtthisguy].mo, sfx_kc57);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue