engine: client: only send continueloading for legacy protocol
This commit is contained in:
parent
9c97235fe8
commit
3f2fbb10d8
1 changed files with 2 additions and 1 deletions
|
@ -2698,10 +2698,11 @@ void CL_ProcessFile( qboolean successfully_received, const char *filename )
|
||||||
Con_Printf( S_ERROR "server failed to transmit file '%s'\n", CL_CleanFileName( filename ));
|
Con_Printf( S_ERROR "server failed to transmit file '%s'\n", CL_CleanFileName( filename ));
|
||||||
}
|
}
|
||||||
|
|
||||||
if( cls.legacymode )
|
if( cls.legacymode == PROTO_LEGACY )
|
||||||
{
|
{
|
||||||
if( host.downloadcount > 0 )
|
if( host.downloadcount > 0 )
|
||||||
host.downloadcount--;
|
host.downloadcount--;
|
||||||
|
|
||||||
if( !host.downloadcount )
|
if( !host.downloadcount )
|
||||||
{
|
{
|
||||||
MSG_WriteByte( &cls.netchan.message, clc_stringcmd );
|
MSG_WriteByte( &cls.netchan.message, clc_stringcmd );
|
||||||
|
|
Loading…
Add table
Reference in a new issue