diff options
| author | oy <Tom_Adams@web.de> | 2012-01-06 20:06:13 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2012-01-06 20:06:13 +0100 |
| commit | 6649d651a8fcb170ccfd53c30d1f3c55d86b9767 (patch) | |
| tree | f39b3bdabc3a3cc63d3eeec0dbf81cd743343a68 /src/game | |
| parent | 27852934693bc8e3192bd06378095e457d436e71 (diff) | |
| download | zcatch-6649d651a8fcb170ccfd53c30d1f3c55d86b9767.tar.gz zcatch-6649d651a8fcb170ccfd53c30d1f3c55d86b9767.zip | |
switched client and highlight chat sound. Closes #630
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/client/components/chat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/components/chat.cpp b/src/game/client/components/chat.cpp index 591dccc6..ea80c54a 100644 --- a/src/game/client/components/chat.cpp +++ b/src/game/client/components/chat.cpp @@ -338,7 +338,7 @@ void CChat::AddLine(int ClientID, int Team, const char *pLine) { if(Now-m_aLastSoundPlayed[CHAT_HIGHLIGHT] >= time_freq()*3/10) { - m_pClient->m_pSounds->Play(CSounds::CHN_GUI, SOUND_CHAT_HIGHLIGHT, 0); + m_pClient->m_pSounds->Play(CSounds::CHN_GUI, SOUND_CHAT_CLIENT, 0); m_aLastSoundPlayed[CHAT_HIGHLIGHT] = Now; } } @@ -346,7 +346,7 @@ void CChat::AddLine(int ClientID, int Team, const char *pLine) { if(Now-m_aLastSoundPlayed[CHAT_CLIENT] >= time_freq()*3/10) { - m_pClient->m_pSounds->Play(CSounds::CHN_GUI, SOUND_CHAT_CLIENT, 0); + m_pClient->m_pSounds->Play(CSounds::CHN_GUI, SOUND_CHAT_HIGHLIGHT, 0); m_aLastSoundPlayed[CHAT_CLIENT] = Now; } } |