Minor fixes

This commit is contained in:
TehRealSalt 2018-06-15 03:02:05 -04:00
parent 788c98144f
commit bfb4c0fae5
2 changed files with 3 additions and 2 deletions

View file

@ -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)
{

View file

@ -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);
}
}