HitEm sound for K_ExplodePlayer

This commit is contained in:
toaster 2018-10-09 22:24:44 +01:00
parent 83bfca8009
commit 66d00b7cc6
1 changed files with 3 additions and 0 deletions

View File

@ -1924,6 +1924,9 @@ void K_ExplodePlayer(player_t *player, mobj_t *source) // A bit of a hack, we ju
return;
}
if (source && source != player->mo && source->player)
K_PlayHitEmSound(source);
player->mo->momz = 18*(mapheaderinfo[gamemap-1]->mobj_scale);
player->mo->momx = player->mo->momy = 0;