summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/bunker/votebing.wavbin0 -> 201930 bytes
-rw-r--r--src/cgame/cg_draw.c4
-rw-r--r--src/cgame/cg_main.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/sound/bunker/votebing.wav b/sound/bunker/votebing.wav
new file mode 100644
index 0000000..0f009cd
--- /dev/null
+++ b/sound/bunker/votebing.wav
Binary files differ
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c
index fd9adf3..57b7ca2 100644
--- a/src/cgame/cg_draw.c
+++ b/src/cgame/cg_draw.c
@@ -3160,7 +3160,7 @@ static void CG_DrawVote( void )
if( cgs.voteModified )
{
cgs.voteModified = qfalse;
- trap_S_StartLocalSound( cgs.media.talkSound, CHAN_LOCAL_SOUND );
+ trap_S_StartLocalSound( cgs.media.voteNow, CHAN_LOCAL_SOUND );
}
sec = ( VOTE_TIME - ( cg.time - cgs.voteTime ) ) / 1000;
@@ -3201,7 +3201,7 @@ static void CG_DrawTeamVote( void )
if ( cgs.teamVoteModified[ cs_offset ] )
{
cgs.teamVoteModified[ cs_offset ] = qfalse;
- trap_S_StartLocalSound( cgs.media.talkSound, CHAN_LOCAL_SOUND );
+ trap_S_StartLocalSound( cgs.media.voteNow, CHAN_LOCAL_SOUND );
}
sec = ( VOTE_TIME - ( cg.time - cgs.teamVoteTime[ cs_offset ] ) ) / 1000;
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c
index 8fcf95e..ed2d0e2 100644
--- a/src/cgame/cg_main.c
+++ b/src/cgame/cg_main.c
@@ -902,6 +902,8 @@ static void CG_RegisterSounds( void )
cgs.media.disconnectSound = trap_S_RegisterSound( "sound/misc/disconnect.wav", qfalse );
+ cgs.media.voteNow = trap_S_RegisterSound( "sound/bunker/votebing.wav", qtrue );
+
for( i = 0; i < 4; i++ )
{
Com_sprintf( name, sizeof( name ), "sound/player/footsteps/step%i.wav", i + 1 );