summaryrefslogtreecommitdiff
path: root/source/cl_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/cl_parse.c')
-rw-r--r--source/cl_parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/cl_parse.c b/source/cl_parse.c
index f0b0f45..b5f2b08 100644
--- a/source/cl_parse.c
+++ b/source/cl_parse.c
@@ -557,7 +557,8 @@ static void CL_ParseFrame( int extrabits ) {
if( length > sizeof( frame.areabits ) ) {
Com_Error( ERR_DROP, "%s: invalid areabits length", __func__ );
}
- MSG_ReadData( frame.areabits, length );
+ memcpy( frame.areabits, msg_read.data + msg_read.readcount, length );
+ msg_read.readcount += length;
frame.areabytes = length;
} else {
frame.areabytes = 0;