From 746565c9294796e5b803b7c3838dc2ec574b0f16 Mon Sep 17 00:00:00 2001 From: tma Date: Wed, 28 Sep 2005 23:18:34 +0000 Subject: * Some game bug fixes from http://www.quake3world.com/ubb/Forum4/HTML/006208.html git-svn-id: svn://svn.icculus.org/quake3/trunk@124 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/cgame/cg_servercmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/cgame') diff --git a/code/cgame/cg_servercmds.c b/code/cgame/cg_servercmds.c index 6558d2f..94ad2ad 100644 --- a/code/cgame/cg_servercmds.c +++ b/code/cgame/cg_servercmds.c @@ -323,7 +323,7 @@ static void CG_ConfigStringModified( void ) { cg.intermissionStarted = atoi( str ); } else if ( num >= CS_MODELS && num < CS_MODELS+MAX_MODELS ) { cgs.gameModels[ num-CS_MODELS ] = trap_R_RegisterModel( str ); - } else if ( num >= CS_SOUNDS && num < CS_SOUNDS+MAX_MODELS ) { + } else if ( num >= CS_SOUNDS && num < CS_SOUNDS+MAX_SOUNDS ) { if ( str[0] != '*' ) { // player specific sounds don't register here cgs.gameSounds[ num-CS_SOUNDS] = trap_S_RegisterSound( str, qfalse ); } -- cgit v1.2.3