diff options
author | M. Kristall <mkpdev@gmail.com> | 2009-10-03 11:48:04 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:15:22 +0000 |
commit | 1161e866f7a074c7c89a0447ee3712e6944513a3 (patch) | |
tree | 3feeec7b0dd0f2d9cc67595dace9c08f0794f32f /src/game/g_main.c | |
parent | a5c0d84f64a2687ff4008c129800706834209168 (diff) |
* (bug 3631) Macro safety for MIN() and MAX() (Ben Millwood)
* (bug 3645) Lag correction field in server info menus is always empty
(Ben Millwood)
* (bug 3653) stack corruption in G_SendGameStat() (/dev/humancontroller)
* (bug 3662) Players who fall of the edge of the world can block the spawn queue
(/dev/humancontroller)
* Remove unused argument to G_ClientNumberFromString()
* Remove unused variables in G_admin_setlevel()
* Remove a number of superfluous va()s
* Shut up erroneous warnings about uninitialized variables
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r-- | src/game/g_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index a3123e17..bb79e173 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -1704,10 +1704,10 @@ void G_SendGameStat( team_t team ) entryLength = strlen( entry ); - if( dataLength + entryLength > MAX_STRING_CHARS ) + if( dataLength + entryLength >= BIG_INFO_STRING ) break; - Q_strncpyz( data + dataLength, entry, BIG_INFO_STRING ); + strcpy( data + dataLength, entry ); dataLength += entryLength; } |