Fix build.

git-svn-id: https://svn.eduke32.com/eduke32@1670 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
plagman 2010-07-05 19:33:29 +00:00
parent 8fa536c83d
commit 9853a66551

View file

@ -2226,7 +2226,11 @@ void Net_UpdateClients(void)
}
{
char *buf = alloca(PACKBUF_SIZE);
char buf[PACKBUF_SIZE];
if (j >= PACKBUF_SIZE) {
initprintf("Global packet buffer overflow! Size of packet: %i\n", j);
}
j = qlz_compress((char *)(packbuf)+1, (char *)buf, j, state_compress);
Bmemcpy((char *)(packbuf)+1, (char *)buf, j);