mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-18 07:22:03 +00:00
Accidentally made HitEm sounds always play, even when hitting your own items
This commit is contained in:
parent
2adbcd6dfd
commit
0a85e75eb8
1 changed files with 2 additions and 1 deletions
|
@ -1269,7 +1269,8 @@ void K_SpinPlayer(player_t *player, mobj_t *source)
|
|||
|| (G_BattleGametype() && ((player->kartstuff[k_balloon] <= 0 && player->kartstuff[k_comebacktimer]) || player->kartstuff[k_comebackmode] == 1)))
|
||||
return;
|
||||
|
||||
K_PlayHitEmSound(source);
|
||||
if (source && source != player->mo && source->player)
|
||||
K_PlayHitEmSound(source);
|
||||
|
||||
player->kartstuff[k_mushroomtimer] = 0;
|
||||
player->kartstuff[k_driftboost] = 0;
|
||||
|
|
Loading…
Reference in a new issue