summaryrefslogtreecommitdiff
path: root/source/cl_parse.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-12-29 14:06:07 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-12-29 14:06:07 +0000
commit7ee7c25e791d374ef960bbfc084b23c579f8a2ed (patch)
treec345319579f65742d13bd4976e3ee74e8f3fa470 /source/cl_parse.c
parent9acf1d530164857f71038957931caa8c8cca7d83 (diff)
Do not ‘fix’ current client entity origin/angles directly in the circular
buffer, modify centity_t stuff instead. Fixes invalid player positioning when changing chasecam modes in modern mods such as OpenTDM. Use ‘lerp_origin’ for spatalizing looped sounds instead of discrete origin, fixes annoying stereo ‘wobbling’ of the railgun/bfg hum when strafing. Stop client sounds properly on deactivation when using SDL sound driver.
Diffstat (limited to 'source/cl_parse.c')
-rw-r--r--source/cl_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cl_parse.c b/source/cl_parse.c
index 57addb4..2aa1163 100644
--- a/source/cl_parse.c
+++ b/source/cl_parse.c
@@ -394,7 +394,7 @@ static void CL_ParsePacketEntities( server_frame_t *oldframe,
// any remaining entities in the old frame are copied over
while( oldnum != 99999 ) {
// one or more entities from the old packet are unchanged
- if( cl_shownet->integer > 2 ) {
+ if( cl_shownet->integer > 3 ) {
Com_Printf( " unchanged: %i\n", oldnum );
}
CL_ParseDeltaEntity( frame, oldnum, oldstate, 0 );