mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 00:40:55 +00:00
don't create a new recorder when we already have one
this seems to fix the weird behaviour when changing maps
This commit is contained in:
parent
bb6619d332
commit
8ac7a71e10
2 changed files with 4 additions and 3 deletions
|
@ -201,7 +201,7 @@ save_signon (server_t *sv, qmsg_t *msg, int start)
|
||||||
|
|
||||||
if (!size)
|
if (!size)
|
||||||
return;
|
return;
|
||||||
Sys_DPrintf ("save_signon: %d\n", sv->num_signon_buffers);
|
|
||||||
if (sv->num_signon_buffers >= MAX_SIGNON_BUFFERS)
|
if (sv->num_signon_buffers >= MAX_SIGNON_BUFFERS)
|
||||||
Sys_Error ("too many signon buffers: %d\n", sv->num_signon_buffers);
|
Sys_Error ("too many signon buffers: %d\n", sv->num_signon_buffers);
|
||||||
sv->signon_buffer_size[sv->num_signon_buffers] = size;
|
sv->signon_buffer_size[sv->num_signon_buffers] = size;
|
||||||
|
|
|
@ -278,8 +278,9 @@ qtv_begin_f (sv_qtv_t *proxy)
|
||||||
qtv_new_f (proxy);
|
qtv_new_f (proxy);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
proxy->recorder = SVR_AddUser (qtv_write, qtv_frame, 0, qtv_finish, 0,
|
if (!proxy->recorder)
|
||||||
proxy);
|
proxy->recorder = SVR_AddUser (qtv_write, qtv_frame, 0, qtv_finish, 0,
|
||||||
|
proxy);
|
||||||
proxy->begun = 1;
|
proxy->begun = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue