VoIP: Save own voice when recording a demo.

We fake a server packet and write it directly to the demo file at the point
 where we'd transmit to the server. This is a little nasty, but it seems to
 be the most reasonable solution.
This commit is contained in:
Ryan C. Gordon 2008-06-08 08:25:25 +00:00
parent 28c48a8cf9
commit a7b854d65f
4 changed files with 34 additions and 2 deletions

View file

@ -478,6 +478,7 @@ CL_WriteDemoMessage
Dumps the current net message, prefixed by the length
====================
*/
void CL_WriteDemoMessage ( msg_t *msg, int headerBytes ) {
int len, swlen;