From: Mario Date: Fri, 20 Feb 2015 03:20:32 +0000 (+1100) Subject: Fix CTF flags getting stuck on slopes instead of sliding down X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fheads%2FMario%2Fflag_slide_fix;p=xonotic%2Fdarkplaces.git Fix CTF flags getting stuck on slopes instead of sliding down --- diff --git a/sv_phys.c b/sv_phys.c index c84f0c15..b8dd3b73 100644 --- a/sv_phys.c +++ b/sv_phys.c @@ -2716,7 +2716,8 @@ void SV_Physics_Toss (prvm_edict_t *ent) } else PRVM_serveredictfloat(ent, flags) = (int)PRVM_serveredictfloat(ent, flags) & ~FL_ONGROUND; - movetime = 0; + if (!sv_gameplayfix_slidemoveprojectiles.integer) + movetime = 0; break; } }