diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2010-12-06 03:02:29 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:44 +0000 |
commit | 91b3cfcdddc2c8167c3cef4712a134148b357d31 (patch) | |
tree | 409b6d4efdaf1f276cc318a81533bc1b241eb296 /src | |
parent | 326699aefc10cddd8b16ccfd054eeb9c50b30973 (diff) |
* Clean up one line of code from ages ago. Nothing to see here.
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_cmds.c | 6 |
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 { |