mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 18:31:27 +00:00
[qw] Clear qtv message buf before writing
I'm not sure this is the right place, but it prevents the packet overflowing when a qtv proxy connects to a busy server (12+ bots).
This commit is contained in:
parent
2aae757eff
commit
dd17e8120d
1 changed files with 1 additions and 0 deletions
|
@ -381,6 +381,7 @@ qtv_reliable_send (sv_qtv_t *proxy)
|
|||
byte *buf = 0;
|
||||
|
||||
SV_Printf ("proxy->begun: %d\n", proxy->begun);
|
||||
SZ_Clear (&proxy->netchan.message);
|
||||
if (!proxy->begun) {
|
||||
MSG_WriteByte (&proxy->netchan.message, qtv_packet);
|
||||
pos = proxy->netchan.message.cursize;
|
||||
|
|
Loading…
Reference in a new issue