diff options
author | Tony J. White <tjw@tjw.org> | 2007-03-20 03:02:33 +0000 |
---|---|---|
committer | Tony J. White <tjw@tjw.org> | 2007-03-20 03:02:33 +0000 |
commit | 81be9016078b1222a778005d409344f74bfcbd9b (patch) | |
tree | ba13501ef724eda40050d024683ca42178539738 /src | |
parent | a275cd8f1cc7c5e66198ff5889cc837c2d77189a (diff) |
* calling teamvotes would often cause strange client behaviour. Common
symptoms I've seen are:
incorrect stage notifications
drawing the wrong number of available build points
broken plant models on niveus
Surprisingly, there was no open bug report for this that I could find.
Diffstat (limited to 'src')
-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 ) |