Fixes the remove bug with >512 entities.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1508 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9ecc36f1db
commit
76fdf11cac
1 changed files with 8 additions and 1 deletions
|
@ -637,7 +637,11 @@ void CL_ParsePacketEntities (qboolean delta)
|
|||
{ // new from baseline
|
||||
//Con_Printf ("baseline %i\n", newnum);
|
||||
if (word & U_REMOVE)
|
||||
{
|
||||
{ //really read the extra entity number if required
|
||||
if (word & U_MOREBITS)
|
||||
if (MSG_ReadByte() & U_EVENMORE)
|
||||
MSG_ReadByte();
|
||||
|
||||
if (full)
|
||||
{
|
||||
cl.validsequence = 0;
|
||||
|
@ -667,6 +671,9 @@ void CL_ParsePacketEntities (qboolean delta)
|
|||
}
|
||||
if (word & U_REMOVE)
|
||||
{
|
||||
if (word & U_MOREBITS)
|
||||
if (MSG_ReadByte() & U_EVENMORE)
|
||||
MSG_ReadByte();
|
||||
oldindex++;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue