diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-04-09 21:14:06 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-04-09 21:14:06 +0000 |
commit | 0cdbc544c0305ff142f556beb3220b7f7382ac48 (patch) | |
tree | 5fe0532c69aa199078f75cfe254746a1c1577904 /source/cl_parse.c | |
parent | 9acbda3161954562ac53303e4ef15e901ca28373 (diff) |
Added `addstuffcmd', `delstuffcmd' and `liststuffcmds'commands.
Fixed broken delta decompression of clientNum field by the client.
Rewrote SV_MvdPlayerIsActive, added flag 4 to `sv_mvd_capture_flags'.
Added `scr_drawpmove' debugging variable.
Improved intermission handling by the MVD client.
Diffstat (limited to 'source/cl_parse.c')
-rw-r--r-- | source/cl_parse.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/cl_parse.c b/source/cl_parse.c index a397ccb..63ecb31 100644 --- a/source/cl_parse.c +++ b/source/cl_parse.c @@ -596,8 +596,6 @@ static void CL_ParseFrame( int extrabits ) { Com_Printf( "%3"PRIz":playerinfo\n", msg_read.readcount - 1 ); } - frame.clientNum = cl.clientNum; - // parse playerstate bits = MSG_ReadShort(); if( cls.serverProtocol > PROTOCOL_VERSION_DEFAULT ) { @@ -613,6 +611,8 @@ static void CL_ParseFrame( int extrabits ) { } else if( oldframe ) { frame.clientNum = oldframe->clientNum; } + } else { + frame.clientNum = cl.clientNum; } } else { MSG_ParseDeltaPlayerstate_Default( from, &frame.ps, bits ); @@ -620,6 +620,7 @@ static void CL_ParseFrame( int extrabits ) { MSG_ShowDeltaPlayerstateBits_Default( bits ); Com_Printf( "\n" ); } + frame.clientNum = cl.clientNum; } if( !frame.ps.fov ) { // fail out early to prevent spurious errors later |