Fixes the awful datagram overflow present in Q3BSP (thanks bby)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5134 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Eukara 2017-08-02 11:11:33 +00:00
parent e8c0014b58
commit 827ac5c2de
1 changed files with 1 additions and 1 deletions

View File

@ -6180,7 +6180,7 @@ qbyte *CM_ClusterPVS (model_t *mod, int cluster, pvsbuffer_t *buffer, pvsmerge_t
{
int c;
char *in = prv->q3pvs->data + cluster * prv->q3pvs->rowsize;
for (c = 0; c < mod->pvsbytes; c++)
for (c = 0; c < mod->pvsbytes; c+=4)
*(int*)&buffer->buffer[c] |= *(int*)&in[c];
}
}