diff options
-rw-r--r-- | sound/bunker/votebing.wav | bin | 0 -> 201930 bytes | |||
-rw-r--r-- | src/cgame/cg_draw.c | 4 | ||||
-rw-r--r-- | src/cgame/cg_main.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/sound/bunker/votebing.wav b/sound/bunker/votebing.wav Binary files differnew file mode 100644 index 0000000..0f009cd --- /dev/null +++ b/sound/bunker/votebing.wav 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 ); |