PRVM_serveredictvector(ent, velocity)[2] -= gravity * 0.5f;
}
}
-
+
+ //Con_Printf("SSQC: %d\n", blocked);
+
return blocked;
}
VectorCopy (PRVM_serveredictvector(ent, velocity), start_velocity);
clip = SV_FlyMove (ent, sv.frametime, applygravity, NULL, hitsupercontentsmask, skipsupercontentsmask, skipmaterialflagsmask, sv_gameplayfix_stepmultipletimes.integer ? sv_stepheight.value : 0);
-
if(sv_gameplayfix_downtracesupportsongroundflag.integer)
if(!(clip & 1))
{
// call player physics, this needs the proper frametime
PRVM_serverglobalfloat(frametime) = sv.frametime;
SV_PlayerPhysics();
+
+ // perform movetype behaviour
+ // note: will always be MOVETYPE_WALK if disableclientprediction = 0
+ SV_Physics_ClientEntity_NoThink (ent);
// call standard client pre-think, with frametime = 0
PRVM_serverglobalfloat(time) = sv.time;
// make sure the velocity is sane (not a NaN)
SV_CheckVelocity(ent);
- // perform movetype behaviour
- // note: will always be MOVETYPE_WALK if disableclientprediction = 0
- SV_Physics_ClientEntity_NoThink (ent);
-
// call standard player post-think, with frametime = 0
PRVM_serverglobalfloat(time) = sv.time;
PRVM_serverglobalfloat(frametime) = 0;