summaryrefslogtreecommitdiff
path: root/source/cl_parse.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-08-18 17:14:38 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-08-18 17:14:38 +0000
commite1f95327e1149592d097c111098ca062c1331d7a (patch)
tree39e89fe96ca9ef53089bf4939d414451b9059ed4 /source/cl_parse.c
parent973f693af765ecfb2007398fb023a07bc4685030 (diff)
New minor Q2PRO protocol version.
Fixed a bug in Q2 pmove code: spectators connected using Q2PRO protocol now have smoother movement with proper acceleration and friction handling. Fixed first lines of long messages disappearing from notify overlay.
Diffstat (limited to 'source/cl_parse.c')
-rw-r--r--source/cl_parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/cl_parse.c b/source/cl_parse.c
index 07e85cf..7271145 100644
--- a/source/cl_parse.c
+++ b/source/cl_parse.c
@@ -885,6 +885,7 @@ static void CL_ParseServerData( void ) {
cl.pmp.upspeed = 350;
cl.pmp.friction = 6;
cl.pmp.waterfriction = 1;
+ cl.pmp.flyfriction = 9;
cl.pmp.airaccelerate = 0;
cl.gametype = GT_DEATHMATCH;
//cl.pmp.highprec=qtrue;
@@ -941,6 +942,8 @@ static void CL_ParseServerData( void ) {
cl.pmp.strafeHack = MSG_ReadByte();
cl.pmp.qwmod = MSG_ReadByte(); //atu QWMod
cl.pmp.speedMultiplier = 2;
+ cl.pmp.flyfix = qtrue;
+ cl.pmp.flyfriction = 4;
if( cl.pmp.strafeHack ) {
Com_DPrintf( "Q2PRO strafeHack enabled\n" );