aboutsummaryrefslogtreecommitdiffstats
path: root/code/cgame
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-28 23:18:34 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-09-28 23:18:34 +0000
commit746565c9294796e5b803b7c3838dc2ec574b0f16 (patch)
treefb9729922f66155e997f8eb3fad815c87812c3bf /code/cgame
parentec912002d3f75729c627cf467903c4607a529495 (diff)
downloadioquake3-aero-746565c9294796e5b803b7c3838dc2ec574b0f16.tar.gz
ioquake3-aero-746565c9294796e5b803b7c3838dc2ec574b0f16.zip
* 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
Diffstat (limited to 'code/cgame')
-rw-r--r--code/cgame/cg_servercmds.c2
1 files changed, 1 insertions, 1 deletions
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 );
}