mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +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