diff options
-rw-r--r-- | src/cgame/cg_servercmds.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c index 60d6deba..2665df16 100644 --- a/src/cgame/cg_servercmds.c +++ b/src/cgame/cg_servercmds.c @@ -353,7 +353,10 @@ static void CG_ConfigStringModified( void ) cgs.teamVoteModified[ num - CS_TEAMVOTE_NO ] = qtrue; } else if( num >= CS_TEAMVOTE_STRING && num <= CS_TEAMVOTE_STRING + 1 ) - Q_strncpyz( cgs.teamVoteString[ num - CS_TEAMVOTE_STRING ], str, sizeof( cgs.teamVoteString ) ); + { + Q_strncpyz( cgs.teamVoteString[ num - CS_TEAMVOTE_STRING ], str, + sizeof( cgs.teamVoteString[ num - CS_TEAMVOTE_STRING ] ) ); + } else if( num == CS_INTERMISSION ) cg.intermissionStarted = atoi( str ); else if( num >= CS_MODELS && num < CS_MODELS+MAX_MODELS ) |