[ioquake3] 117/136: Fix score info being dropped by server

Simon McVittie smcv at debian.org
Thu Jun 15 09:09:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit eeb28dc1d0d7046a0176e926de3907b5b9cf3c96
Author: Zack Middleton <zack at cloemail.com>
Date:   Wed Jun 7 19:55:34 2017 -0500

    Fix score info being dropped by server
    
    Server drops reliable command string if it's length is more than 1022.
---
 code/game/g_cmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/code/game/g_cmds.c b/code/game/g_cmds.c
index dde25d9..70681c7c 100644
--- a/code/game/g_cmds.c
+++ b/code/game/g_cmds.c
@@ -34,7 +34,7 @@ DeathmatchScoreboardMessage
 */
 void DeathmatchScoreboardMessage( gentity_t *ent ) {
 	char		entry[1024];
-	char		string[1400];
+	char		string[1000];
 	int			stringlength;
 	int			i, j;
 	gclient_t	*cl;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git



More information about the Pkg-games-commits mailing list