summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_cmds.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index 175bd8b2..c6eb69fe 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -1340,8 +1340,10 @@ void Cmd_CallVote_f( gentity_t *ent )
level.voteThreshold[ team ] = g_suddenDeathVotePercent.integer;
Com_sprintf( level.voteString[ team ], sizeof( level.voteString[ team ] ),
"suddendeath %d", g_suddenDeathVoteDelay.integer );
- strcpy( level.voteDisplayString[ team ],
- va( "Begin sudden death in %d seconds", g_suddenDeathVoteDelay.integer ) );
+ Com_sprintf( level.voteDisplayString[ team ],
+ sizeof( level.voteDisplayString[ team ] ),
+ "Begin sudden death in %d seconds",
+ g_suddenDeathVoteDelay.integer );
}
else
{