diff options
author | /dev/humancontroller <devhc@example.com> | 2015-06-08 14:15:50 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-02-08 02:17:01 +0100 |
commit | 39e8a98f7b567aaefa844edc040b1952ee40a6d6 (patch) | |
tree | f6c0b54bf5b9276a0a3182de0ac0dbf7c41f3733 /src | |
parent | f6f10a728bce3638847e5c77a78e81809e3c454c (diff) |
fix a sizeof() error in Cmd_CallVote_f()
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 9a225c24..cf203560 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -1350,7 +1350,7 @@ void Cmd_CallVote_f( gentity_t *ent ) return; } - Com_sprintf( level.voteString[ team ], sizeof( level.voteString ), + Com_sprintf( level.voteString[ team ], sizeof( level.voteString[ team ] ), "%s \"%s\"", vote, arg ); Com_sprintf( level.voteDisplayString[ team ], sizeof( level.voteDisplayString[ team ] ), |