mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
HitEm sound for K_ExplodePlayer
This commit is contained in:
parent
0adfccf7da
commit
587e11449d
1 changed files with 3 additions and 0 deletions
|
|
@ -1924,6 +1924,9 @@ void K_ExplodePlayer(player_t *player, mobj_t *source) // A bit of a hack, we ju
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (source && source != player->mo && source->player)
|
||||||
|
K_PlayHitEmSound(source);
|
||||||
|
|
||||||
player->mo->momz = 18*(mapheaderinfo[gamemap-1]->mobj_scale);
|
player->mo->momz = 18*(mapheaderinfo[gamemap-1]->mobj_scale);
|
||||||
player->mo->momx = player->mo->momy = 0;
|
player->mo->momx = player->mo->momy = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue