mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Fix build.
git-svn-id: https://svn.eduke32.com/eduke32@1670 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8fa536c83d
commit
9853a66551
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue