mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- Fixed: Do not play skinned sounds when the player has the NOSKIN flag set.
SVN r3561 (trunk)
This commit is contained in:
parent
c0bc7532ac
commit
f19a6a2a29
1 changed files with 1 additions and 0 deletions
|
@ -960,6 +960,7 @@ void APlayerPawn::FilterCoopRespawnInventory (APlayerPawn *oldplayer)
|
|||
const char *APlayerPawn::GetSoundClass ()
|
||||
{
|
||||
if (player != NULL &&
|
||||
(player->mo == NULL || !(player->mo->flags4 &MF4_NOSKIN)) &&
|
||||
(unsigned int)player->userinfo.skin >= PlayerClasses.Size () &&
|
||||
(size_t)player->userinfo.skin < numskins)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue