- Fixed: Thew sounds of Strife's intro need CHAN_UI.

- Changed all instances of playing the chat sounds to use CHAN_UI.


SVN r1085 (trunk)
This commit is contained in:
Christoph Oelckers 2008-07-23 19:39:01 +00:00
commit 47d8a41540
5 changed files with 14 additions and 17 deletions

View file

@ -1962,7 +1962,7 @@ void Net_DoCommand (int type, BYTE **stream, int player)
{
Printf (PRINT_CHAT, "%s: %s\n", name, s);
}
S_Sound (CHAN_VOICE, gameinfo.chatSound, 1, ATTN_NONE);
S_Sound (CHAN_VOICE | CHAN_UI, gameinfo.chatSound, 1, ATTN_NONE);
}
else if (players[player].userinfo.team == players[consoleplayer].userinfo.team)
{ // Said only to members of the player's team
@ -1974,7 +1974,7 @@ void Net_DoCommand (int type, BYTE **stream, int player)
{
Printf (PRINT_TEAMCHAT, "(%s): %s\n", name, s);
}
S_Sound (CHAN_VOICE, gameinfo.chatSound, 1, ATTN_NONE);
S_Sound (CHAN_VOICE | CHAN_UI, gameinfo.chatSound, 1, ATTN_NONE);
}
}
break;