aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_main.c
diff options
context:
space:
mode:
authoricculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-06-08 08:25:25 +0000
committericculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-06-08 08:25:25 +0000
commitba53563804ad3589f5ad5618230606dd3cb4410f (patch)
treef6362763e85fa190ab609fd53d44586040d11604 /code/client/cl_main.c
parent0cfbb51836fefc35f6e1aa612d6bc77203d6b1d3 (diff)
downloadioquake3-aero-ba53563804ad3589f5ad5618230606dd3cb4410f.tar.gz
ioquake3-aero-ba53563804ad3589f5ad5618230606dd3cb4410f.zip
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. git-svn-id: svn://svn.icculus.org/quake3/trunk@1382 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client/cl_main.c')
-rw-r--r--code/client/cl_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/code/client/cl_main.c b/code/client/cl_main.c
index 7959bd0..a7734c6 100644
--- a/code/client/cl_main.c
+++ b/code/client/cl_main.c
@@ -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;