aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_parse.c
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-10-11 18:31:00 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-10-11 18:31:00 +0000
commit2c0063219160e34886e6cec762fa2ab1eee2d16c (patch)
tree4b8fdc93088ba647dab8a158816d87297f1170d6 /code/client/cl_parse.c
parent4217dcf119bd52d41c779c66a87de13cfa704448 (diff)
downloadioquake3-aero-2c0063219160e34886e6cec762fa2ab1eee2d16c.tar.gz
ioquake3-aero-2c0063219160e34886e6cec762fa2ab1eee2d16c.zip
Fix recursive error for disconnect after reliable client command overflow. Thanks to /dev/humancontroller for reporting. https://bugzilla.icculus.org/show_bug.cgi?id=3616
git-svn-id: svn://svn.icculus.org/quake3/trunk@1655 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client/cl_parse.c')
-rw-r--r--code/client/cl_parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/code/client/cl_parse.c b/code/client/cl_parse.c
index 3c4b4fb..588fe39 100644
--- a/code/client/cl_parse.c
+++ b/code/client/cl_parse.c
@@ -552,7 +552,7 @@ void CL_ParseDownload ( msg_t *msg ) {
if (!*clc.downloadTempName) {
Com_Printf("Server sending download, but no download was requested\n");
- CL_AddReliableCommand( "stopdl" );
+ CL_AddReliableCommand("stopdl", qfalse);
return;
}
@@ -594,7 +594,7 @@ void CL_ParseDownload ( msg_t *msg ) {
if (!clc.download) {
Com_Printf( "Could not create %s\n", clc.downloadTempName );
- CL_AddReliableCommand( "stopdl" );
+ CL_AddReliableCommand("stopdl", qfalse);
CL_NextDownload();
return;
}
@@ -603,7 +603,7 @@ void CL_ParseDownload ( msg_t *msg ) {
if (size)
FS_Write( data, size, clc.download );
- CL_AddReliableCommand( va("nextdl %d", clc.downloadBlock) );
+ CL_AddReliableCommand(va("nextdl %d", clc.downloadBlock), qfalse);
clc.downloadBlock++;
clc.downloadCount += size;